diff options
author | Twinaphex | 2014-12-09 13:28:17 +0100 |
---|---|---|
committer | Twinaphex | 2014-12-09 13:28:17 +0100 |
commit | 988c2e2655c7c1f724ba727f008d84e3faa6cd24 (patch) | |
tree | da7bf131f33b9ae16d2a93a0a7615a3c0b9c7535 /common.h | |
parent | 7bb77f4fc090cadc23c3e05998ccebac7156e3cf (diff) | |
parent | e2d6ea9082a5ff977f834eda0bbb2362397422df (diff) | |
download | picogpsp-988c2e2655c7c1f724ba727f008d84e3faa6cd24.tar.gz picogpsp-988c2e2655c7c1f724ba727f008d84e3faa6cd24.tar.bz2 picogpsp-988c2e2655c7c1f724ba727f008d84e3faa6cd24.zip |
Merge pull request #2 from aliaspider/master
initial port of gpsp to libretro.
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -104,7 +104,17 @@ #include <time.h> #include <stdio.h> #else +#ifdef __LIBRETRO__ + +#define GBA_SCREEN_WIDTH (240) +#define GBA_SCREEN_HEIGHT (160) +#define GBA_SCREEN_PITCH (240) + +void switch_to_main_thread(void); + +#else #include "SDL.h" +#endif #ifdef ARM_ARCH #define function_cc @@ -210,7 +220,9 @@ typedef u32 fixed8_24; #include <stdlib.h> #include <string.h> #include <stdarg.h> +#ifndef __LIBRETRO__ #include "SDL.h" +#endif #include "cpu.h" #include "memory.h" #include "video.h" |