From 15be1a3421956600cf3a773b96bf7aaf8f092d04 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Tue, 28 Mar 2017 00:13:35 -0700 Subject: Implemented M68K trace mode. Some edge cases/SR update paths still need work --- trans.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'trans.c') diff --git a/trans.c b/trans.c index bdde49c..9399a96 100644 --- a/trans.c +++ b/trans.c @@ -24,6 +24,9 @@ m68k_context * sync_components(m68k_context * context, uint32_t address) if (context->current_cycle > 0x80000000) { context->current_cycle -= 0x80000000; } + if (context->status & 0x80) { + context->target_cycle = context->current_cycle; + } return context; } -- cgit v1.2.3