From f648307598ab5c06261ef7bd9b27308cda8f1a4e Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Sun, 24 Apr 2016 21:23:28 -0700 Subject: 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 --- debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debug.c') 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; -- cgit v1.2.3