diff debug.c @ 1130:8f14767661fa

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
author Michael Pavone <pavone@retrodev.com>
date Wed, 28 Dec 2016 20:39:27 -0800
parents 6b5c92b6205c
children 6b0da6021544
line wrap: on
line diff
--- a/debug.c	Wed Dec 28 12:28:52 2016 -0800
+++ b/debug.c	Wed Dec 28 20:39:27 2016 -0800
@@ -591,7 +591,7 @@
 					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;