summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2015-05-11 20:31:59 -0700
committerMichael Pavone <pavone@retrodev.com>2015-05-11 20:31:59 -0700
commit92699df4cb844ec29bcb2c55e5d68d747aabb6a8 (patch)
treee778cbb610ed4ce1b4522f2b7575e291e08b6670
parentf44c90756358ab4b6582b69d0ebca4f7fce6c74e (diff)
Tiny cleanup
-rw-r--r--blastem.c4
1 files changed, 1 insertions, 3 deletions
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) {