summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authornotaz2009-05-21 19:14:28 +0300
committernotaz2009-05-21 19:16:10 +0300
commit90206450327a222607119b04f34cf1853faf37f8 (patch)
tree672ebef28cb7b4429fd546ae37fe850bfe51cf64 /main.c
parent010878638d6510ff2992e33fda84e137a1c2a9e0 (diff)
downloadpicogpsp-90206450327a222607119b04f34cf1853faf37f8.tar.gz
picogpsp-90206450327a222607119b04f34cf1853faf37f8.tar.bz2
picogpsp-90206450327a222607119b04f34cf1853faf37f8.zip
tweaks from 2008 (gpsp09-2xb_3)
Diffstat (limited to 'main.c')
-rw-r--r--main.c9
1 files changed, 7 insertions, 2 deletions
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)