diff options
author | Michael Pavone <pavone@retrodev.com> | 2015-05-13 23:55:02 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2015-05-13 23:55:02 -0700 |
commit | 9ad6463d0b731c4afda4fceb9a9683e2f65e14f5 (patch) | |
tree | 479dc7ec76b685edc38a3cf075407d9dc4b76c33 /m68k_core.c | |
parent | f62e6e2704a06ceba1e89656146c69272a71e3ba (diff) |
Fix problem with removing breakpoints
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 c58b906..31f536b 100644 --- a/m68k_core.c +++ b/m68k_core.c @@ -972,7 +972,7 @@ void remove_breakpoint(m68k_context * context, uint32_t address) code_ptr native = get_native_address(context->native_code_map, address); code_info tmp = context->options->gen.code; context->options->gen.code.cur = native; - context->options->gen.code.last = native + 16; + context->options->gen.code.last = native + MAX_NATIVE_SIZE; check_cycles_int(&context->options->gen, address); context->options->gen.code = tmp; } |