diff options
author | Michael Pavone <pavone@retrodev.com> | 2017-03-28 00:13:35 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2017-03-28 00:13:35 -0700 |
commit | 15be1a3421956600cf3a773b96bf7aaf8f092d04 (patch) | |
tree | 377049a149b3cae59df5a804e393847823525ad8 /trans.c | |
parent | 246813eedfa1274917f3a88755afd3a316ee8aae (diff) |
Implemented M68K trace mode. Some edge cases/SR update paths still need work
Diffstat (limited to 'trans.c')
-rw-r--r-- | trans.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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; } |