diff options
author | Michael Pavone <pavone@retrodev.com> | 2017-03-09 22:17:46 -0800 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2017-03-09 22:17:46 -0800 |
commit | 48d1488e7ef94f03d8e1426bd318fc612d4b4c87 (patch) | |
tree | 0b3288adf930236d3dd1c7a6605e35f101126ff8 /m68k_core.c | |
parent | 1267c1152be3d0459dd93d20c6b4fc1c64fb148e (diff) |
Fix bug in handling of translating unmapped addresses
Diffstat (limited to 'm68k_core.c')
-rw-r--r-- | m68k_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m68k_core.c b/m68k_core.c index 686b0d8..19600bd 100644 --- a/m68k_core.c +++ b/m68k_core.c @@ -885,7 +885,7 @@ void translate_m68k_stream(uint32_t address, m68k_context * context) code_ptr start = code->cur; translate_out_of_bounds(opts, address); code_ptr after = code->cur; - map_native_address(context, address, code->cur, 2, after-start); + map_native_address(context, address, start, 2, after-start); break; } code_ptr existing = get_native_address(opts, address); |