diff options
author | Michael Pavone <pavone@retrodev.com> | 2017-03-28 09:39:54 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2017-03-28 09:39:54 -0700 |
commit | ee4dc11142649262163a85aad31775a02031b818 (patch) | |
tree | f66b0abdc1182af42e2e54c041ac75bff38c3a92 /trans.c | |
parent | 15be1a3421956600cf3a773b96bf7aaf8f092d04 (diff) |
Fix exit trace mode edge case. Call do_sync if trace mode bit is changed in eori sr
Diffstat (limited to 'trans.c')
-rw-r--r-- | trans.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ m68k_context * sync_components(m68k_context * context, uint32_t address) if (context->current_cycle > 0x80000000) { context->current_cycle -= 0x80000000; } - if (context->status & 0x80) { + if (context->status & M68K_STATUS_TRACE || context->trace_pending) { context->target_cycle = context->current_cycle; } return context; |