changeset 700:72ab94527a8a

Tiny cleanup
author Michael Pavone <pavone@retrodev.com>
date Mon, 11 May 2015 20:31:59 -0700
parents d8a1fdec68fc
children 200ee73c7210
files blastem.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/blastem.c	Mon May 11 20:30:35 2015 -0700
+++ b/blastem.c	Mon May 11 20:31:59 2015 -0700
@@ -237,10 +237,8 @@
 		if (gen->ym->write_cycle != CYCLE_NEVER) {
 			gen->ym->write_cycle = gen->ym->write_cycle >= mclks ? gen->ym->write_cycle - mclks : 0;
 		}
-		gen->frame_end = vdp_cycles_to_frame_end(v_context);
-	} else {
-		gen->frame_end = vdp_cycles_to_frame_end(v_context);
 	}
+	gen->frame_end = vdp_cycles_to_frame_end(v_context);
 	context->sync_cycle = gen->frame_end;
 	//printf("Set sync cycle to: %d @ %d, vcounter: %d, hslot: %d\n", context->sync_cycle, context->current_cycle, v_context->vcounter, v_context->hslot);
 	if (context->int_ack) {