From 90206450327a222607119b04f34cf1853faf37f8 Mon Sep 17 00:00:00 2001 From: notaz Date: Thu, 21 May 2009 19:14:28 +0300 Subject: tweaks from 2008 (gpsp09-2xb_3) --- main.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 1f076c8..ac891cb 100644 --- a/main.c +++ b/main.c @@ -84,7 +84,11 @@ u32 oam_update_count = 0; u32 synchronize_flag = 1; u32 update_backup_flag = 1; +#ifdef GP2X_BUILD +u32 clock_speed = 200; +#else u32 clock_speed = 333; +#endif u8 main_path[512]; void trigger_ext_event(); @@ -351,7 +355,7 @@ int main(int argc, char *argv[]) current_savestate_filename); load_state(current_savestate_filename); */ - debug_on(); +// debug_on(); if(argc > 2) { @@ -1008,7 +1012,8 @@ void get_ticks_us(u64 *ticks_return) void delay_us(u32 us_count) { - usleep(us_count); + //usleep(us_count); + SDL_Delay(us_count / 1000); } void get_ticks_us(u64 *ticks_return) -- cgit v1.2.3