Mercurial > repos > blastem
diff blastem.c @ 1077:1a66d5165ea7
Cleanup the separation of render backend and VDP code in preparation for having extra debug windows. Make determination of H40/H32 based on number of lines in each mode.
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 22 Aug 2016 09:46:18 -0700 |
parents | 8c90982429e3 |
children | 2ec5e6eaf81d |
line wrap: on
line diff
--- a/blastem.c Fri Aug 12 09:39:39 2016 -0700 +++ b/blastem.c Mon Aug 22 09:46:18 2016 -0700 @@ -272,9 +272,7 @@ //printf("reached frame end %d | MCLK Cycles: %d, Target: %d, VDP cycles: %d, vcounter: %d, hslot: %d\n", last_frame_num, mclks, gen->frame_end, v_context->cycles, v_context->vcounter, v_context->hslot); last_frame_num = v_context->frame; - if (!headless) { - break_on_sync |= wait_render_frame(v_context, frame_limit); - } else if(exit_after){ + if(exit_after){ --exit_after; if (!exit_after) { exit(0);