From ee4dc11142649262163a85aad31775a02031b818 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Tue, 28 Mar 2017 09:39:54 -0700 Subject: Fix exit trace mode edge case. Call do_sync if trace mode bit is changed in eori sr --- genesis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'genesis.c') diff --git a/genesis.c b/genesis.c index 896e76b..8f1197b 100644 --- a/genesis.c +++ b/genesis.c @@ -83,7 +83,7 @@ static void adjust_int_cycle(m68k_context * context, vdp_context * v_context) old_int_cycle = context->int_cycle; }*/ - if (context->status & M68K_STATUS_TRACE) { + if (context->status & M68K_STATUS_TRACE || context->trace_pending) { context->target_cycle = context->current_cycle; return; } -- cgit v1.2.3