Mercurial > repos > blastem
changeset 1275:f36ef4847ef2
Fix bug in handling of translating unmapped addresses
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 09 Mar 2017 22:17:46 -0800 |
parents | 779920729249 |
children | 2d8b9d40f5ea |
files | m68k_core.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);