diff options
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) \ |