# HG changeset patch # User Michael Pavone # Date 1461218437 25200 # Node ID f765c2fc7508f49511be53cd2c9657a42b12479e # Parent 5257e85364edd0d5089de47ea126c35fb3169191 Fix crash bug in Z80 debugger introduced with stack alignment changes diff -r 5257e85364ed -r f765c2fc7508 z80_to_x86.c --- a/z80_to_x86.c Wed Apr 20 09:18:58 2016 -0700 +++ b/z80_to_x86.c Wed Apr 20 23:00:37 2016 -0700 @@ -2729,7 +2729,7 @@ 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;