summaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2016-12-28 20:39:27 -0800
committerMichael Pavone <pavone@retrodev.com>2016-12-28 20:39:27 -0800
commit67b7c359a5a73f01eeba37af2d5fbae1027b4a7a (patch)
treef2542e2c1a6fc6ae59792e22cbc265e4267d78b6 /debug.c
parent96d5581219aec6c49fadaaf1d30623c0f2eed358 (diff)
Remove memory map assumptions from Z80 core and move a little bit of logic to the generic backend.c so it can be shared between CPU cores
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 e0b8d56..4c7dcd9 100644
--- a/debug.c
+++ b/debug.c
@@ -591,7 +591,7 @@ int run_debugger_command(m68k_context *context, char *input_buf, m68kinst inst,
uint8_t non_adr_count = 0;
do {
uint32_t bt_address = system->work_ram[stack/2] << 16 | system->work_ram[stack/2+1];
- bt_address = get_instruction_start(context->options, context->native_code_map, bt_address - 2);
+ bt_address = get_instruction_start(context->options, bt_address - 2);
if (bt_address) {
stack += 4;
non_adr_count = 0;