From ea4a42adde53588db81488eee153920195a9a95b Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Wed, 20 Apr 2016 23:00:37 -0700 Subject: Fix crash bug in Z80 debugger introduced with stack alignment changes --- z80_to_x86.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'z80_to_x86.c') 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; -- cgit v1.2.3