summaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
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;