summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--m68k_core.c2
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);