diff options
author | Michael Pavone <pavone@retrodev.com> | 2016-12-28 20:39:27 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2016-12-28 20:39:27 -0800 |
commit | 67b7c359a5a73f01eeba37af2d5fbae1027b4a7a (patch) | |
tree | f2542e2c1a6fc6ae59792e22cbc265e4267d78b6 /debug.c | |
parent | 96d5581219aec6c49fadaaf1d30623c0f2eed358 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |