From 4742480dcabcbd9d23fd8cb9a655fc8c9c314513 Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 30 May 2009 22:47:25 +0300 Subject: wiz port wip --- main.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'main.c') 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 -- cgit v1.2.3