diff options
author | Michael Pavone <pavone@retrodev.com> | 2016-04-20 23:00:37 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2016-04-20 23:00:37 -0700 |
commit | ea4a42adde53588db81488eee153920195a9a95b (patch) | |
tree | 8e6d4f6e3e32785a0a5849725a561d3a1c6ff256 /z80_to_x86.c | |
parent | c311221fe24b3377a342a0f284313012bc38c286 (diff) |
Fix crash bug in Z80 debugger introduced with stack alignment changes
Diffstat (limited to 'z80_to_x86.c')
-rw-r--r-- | z80_to_x86.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/z80_to_x86.c b/z80_to_x86.c index fbfdbd3..8458c06 100644 --- a/z80_to_x86.c +++ b/z80_to_x86.c @@ -2729,7 +2729,7 @@ void z80_adjust_cycles(z80_context * context, uint32_t deduction) uint32_t zbreakpoint_patch(z80_context * context, uint16_t address, code_ptr dst) { - code_info code = {dst, dst+16}; + code_info code = {dst, dst+32}; mov_ir(&code, address, context->options->gen.scratch1, SZ_W); call(&code, context->bp_stub); return code.cur-dst; |