# HG changeset patch # User Mike Pavone # Date 1369378542 25200 # Node ID 79e4b466e7d043102e11660f529f9713c34a1f34 # Parent fcd31d19dddd15e3edf3b306657f4804236d7fc5 Get rid of debug puts and limit based on audio rather than frame rate by default. diff -r fcd31d19dddd -r 79e4b466e7d0 blastem.c --- a/blastem.c Thu May 23 23:51:49 2013 -0700 +++ b/blastem.c Thu May 23 23:55:42 2013 -0700 @@ -31,7 +31,7 @@ int headless = 0; int z80_enabled = 1; -int frame_limit = 1; +int frame_limit = 0; #ifndef MIN #define MIN(a,b) ((a) < (b) ? (a) : (b)) @@ -1416,7 +1416,7 @@ debug = 1; break; case 'f': - frame_limit = 0; + frame_limit = 1; break; case 'l': address_log = fopen("address.log", "w"); diff -r fcd31d19dddd -r 79e4b466e7d0 render_sdl.c --- a/render_sdl.c Thu May 23 23:51:49 2013 -0700 +++ b/render_sdl.c Thu May 23 23:55:42 2013 -0700 @@ -419,7 +419,6 @@ ret = handle_event(&event); } if (frame_limit) { - puts("evil frame limit"); //TODO: Adjust frame delay so we actually get 60 FPS rather than 62.5 FPS uint32_t current = SDL_GetTicks(); uint32_t desired = last_frame + frame_delay;