From 92699df4cb844ec29bcb2c55e5d68d747aabb6a8 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Mon, 11 May 2015 20:31:59 -0700 Subject: Tiny cleanup --- blastem.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'blastem.c') diff --git a/blastem.c b/blastem.c index 9a26e4b..56f3ca9 100644 --- a/blastem.c +++ b/blastem.c @@ -237,10 +237,8 @@ m68k_context * sync_components(m68k_context * context, uint32_t address) 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) { -- cgit v1.2.3