mirror of
https://github.com/FunKey-Project/gpsp_libretro.git
synced 2026-04-30 09:59:35 +02:00
Take out SDL defines in common.h
This commit is contained in:
7
common.h
7
common.h
@@ -31,7 +31,6 @@
|
|||||||
#define PATH_SEPARATOR_CHAR '/'
|
#define PATH_SEPARATOR_CHAR '/'
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// These includes must be used before SDL is included.
|
|
||||||
#ifdef ARM_ARCH
|
#ifdef ARM_ARCH
|
||||||
|
|
||||||
#define _BSD_SOURCE // sync
|
#define _BSD_SOURCE // sync
|
||||||
@@ -111,9 +110,6 @@
|
|||||||
#define GBA_SCREEN_PITCH (240)
|
#define GBA_SCREEN_PITCH (240)
|
||||||
|
|
||||||
void switch_to_main_thread(void);
|
void switch_to_main_thread(void);
|
||||||
|
|
||||||
#else
|
|
||||||
#include "SDL.h"
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef ARM_ARCH
|
#ifdef ARM_ARCH
|
||||||
@@ -220,9 +216,6 @@ typedef u32 fixed8_24;
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#ifndef __LIBRETRO__
|
|
||||||
#include "SDL.h"
|
|
||||||
#endif
|
|
||||||
#include "cpu.h"
|
#include "cpu.h"
|
||||||
#include "gba_memory.h"
|
#include "gba_memory.h"
|
||||||
#include "video.h"
|
#include "video.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user