summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authornotaz2009-05-30 22:47:25 +0300
committernotaz2009-05-30 22:47:25 +0300
commit4742480dcabcbd9d23fd8cb9a655fc8c9c314513 (patch)
tree80e9e7410db42a9f582576e0920cef04f981b068 /main.c
parenta6c41a382bd4c79ab5d337536152717afcfa624f (diff)
downloadpicogpsp-4742480dcabcbd9d23fd8cb9a655fc8c9c314513.tar.gz
picogpsp-4742480dcabcbd9d23fd8cb9a655fc8c9c314513.tar.bz2
picogpsp-4742480dcabcbd9d23fd8cb9a655fc8c9c314513.zip
wiz port wip
Diffstat (limited to 'main.c')
-rw-r--r--main.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/main.c b/main.c
index ac891cb..64329d0 100644
--- a/main.c
+++ b/main.c
@@ -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