diff options
author | notaz | 2009-05-30 22:47:25 +0300 |
---|---|---|
committer | notaz | 2009-05-30 22:47:25 +0300 |
commit | 4742480dcabcbd9d23fd8cb9a655fc8c9c314513 (patch) | |
tree | 80e9e7410db42a9f582576e0920cef04f981b068 /main.c | |
parent | a6c41a382bd4c79ab5d337536152717afcfa624f (diff) | |
download | picogpsp-4742480dcabcbd9d23fd8cb9a655fc8c9c314513.tar.gz picogpsp-4742480dcabcbd9d23fd8cb9a655fc8c9c314513.tar.bz2 picogpsp-4742480dcabcbd9d23fd8cb9a655fc8c9c314513.zip |
wiz port wip
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -49,6 +49,7 @@ u64 frame_count_initial_timestamp = 0; u64 last_frame_interval_timestamp; u32 gp2x_fps_debug = 0; +void gp2x_init(void); void gp2x_quit(void); #else @@ -194,14 +195,14 @@ int main(int argc, char *argv[]) #ifdef GP2X_BUILD if(gp2x_load_mmuhack() == -1) - delay_us(2500000); +;// delay_us(2500000); #endif #ifdef PSP_BUILD sceKernelRegisterSubIntrHandler(PSP_VBLANK_INT, 0, vblank_interrupt_handler, NULL); sceKernelEnableSubIntr(PSP_VBLANK_INT, 0); -#else +#elif !defined(GP2X_BUILD) freopen("CON", "wb", stdout); #endif @@ -229,7 +230,7 @@ int main(int argc, char *argv[]) #ifdef GP2X_BUILD // Overclocking GP2X and MMU patch goes here - gp2x_overclock(); + gp2x_init(); #endif #ifdef GP2X_BUILD |