summaryrefslogtreecommitdiff
path: root/trans.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2017-03-28 00:13:35 -0700
committerMichael Pavone <pavone@retrodev.com>2017-03-28 00:13:35 -0700
commit15be1a3421956600cf3a773b96bf7aaf8f092d04 (patch)
tree377049a149b3cae59df5a804e393847823525ad8 /trans.c
parent246813eedfa1274917f3a88755afd3a316ee8aae (diff)
Implemented M68K trace mode. Some edge cases/SR update paths still need work
Diffstat (limited to 'trans.c')
-rw-r--r--trans.c3
1 files changed, 3 insertions, 0 deletions
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;
}