Mercurial > repos > blastem
diff debug.c @ 985:751280fb4494
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
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 24 Apr 2016 21:23:28 -0700 |
parents | f33e8d88ab6f |
children | 22e87b739ad6 |
line wrap: on
line diff
--- a/debug.c Sun Apr 24 14:30:15 2016 -0700 +++ b/debug.c Sun Apr 24 21:23:28 2016 -0700 @@ -572,7 +572,7 @@ 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;