# HG changeset patch # User Michael Pavone # Date 1489126666 28800 # Node ID f36ef4847ef2d3babe8abbcf602e41683bbc645c # Parent 779920729249c56db1b6809b8bce29ea93ceaa52 Fix bug in handling of translating unmapped addresses diff -r 779920729249 -r f36ef4847ef2 m68k_core.c --- a/m68k_core.c Thu Mar 09 21:31:31 2017 -0800 +++ b/m68k_core.c Thu Mar 09 22:17:46 2017 -0800 @@ -885,7 +885,7 @@ 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);