summaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2016-04-24 21:23:28 -0700
committerMichael Pavone <pavone@retrodev.com>2016-04-24 21:23:28 -0700
commitf648307598ab5c06261ef7bd9b27308cda8f1a4e (patch)
tree3993de1c2d8d12162bb842b7944f7c0935e1d6fd /debug.c
parent41bdfca723fe7ba2dde28607cdf57f3da8f39445 (diff)
Fix interrupt latency from STOP instruction status reg changes. Fix modified code patching when non-standard aliases are used. This fixes the demo MDEM's First
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug.c b/debug.c
index 2273517..a7beb81 100644
--- a/debug.c
+++ b/debug.c
@@ -572,7 +572,7 @@ int run_debugger_command(m68k_context *context, char *input_buf, m68kinst inst,
uint8_t non_adr_count = 0;
do {
uint32_t bt_address = ram[stack/2] << 16 | ram[stack/2+1];
- bt_address = get_instruction_start(context->native_code_map, bt_address - 2);
+ bt_address = get_instruction_start(context->options, context->native_code_map, bt_address - 2);
if (bt_address) {
stack += 4;
non_adr_count = 0;