diff options
author | bmaupin | 2019-09-19 12:48:21 -0400 |
---|---|---|
committer | bmaupin | 2019-10-03 13:53:34 -0400 |
commit | 89e55e9902195a59d1404250b05b3eca7aba1142 (patch) | |
tree | ec6f0c1723c50b3470a3d4e71529c8837ff29fa6 /common.h | |
parent | 32eb4538c1edcc1401410e9fdc0c18595c7c6224 (diff) | |
download | picogpsp-89e55e9902195a59d1404250b05b3eca7aba1142.tar.gz picogpsp-89e55e9902195a59d1404250b05b3eca7aba1142.tar.bz2 picogpsp-89e55e9902195a59d1404250b05b3eca7aba1142.zip |
Reenable native file IO on PSP
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -49,7 +49,7 @@ // Huge thanks to pollux for the heads up on using native file I/O // functions on PSP for vastly improved memstick performance. -#ifdef PSP_BUILD +#ifdef PSP #define fastcall #include <pspkernel.h> @@ -90,12 +90,6 @@ #include <stdio.h> #else -#define GBA_SCREEN_WIDTH (240) -#define GBA_SCREEN_HEIGHT (160) -#define GBA_SCREEN_PITCH (240) - -void switch_to_main_thread(void); - typedef unsigned char u8; typedef signed char s8; typedef unsigned short int u16; @@ -133,6 +127,12 @@ void switch_to_main_thread(void); #endif +#define GBA_SCREEN_WIDTH (240) +#define GBA_SCREEN_HEIGHT (160) +#define GBA_SCREEN_PITCH (240) + +void switch_to_main_thread(void); + // These must be variables, not constants. #define file_read_variable(filename_tag, variable) \ |