# HG changeset patch # User Michael Pavone # Date 1503991820 25200 # Node ID 9327c1dc37919641608813c9139504ad5204b907 # Parent a094815b11687afada1417338a730e9d3fea9189 Ensure extra_pc is NULL when resuming a save state diff -r a094815b1168 -r 9327c1dc3791 z80_to_x86.c --- a/z80_to_x86.c Tue Aug 29 00:09:35 2017 -0700 +++ b/z80_to_x86.c Tue Aug 29 00:30:20 2017 -0700 @@ -3931,6 +3931,6 @@ context->int_pulse_start = load_int32(buf); context->int_pulse_end = load_int32(buf); context->nmi_start = load_int32(buf); - context->native_pc = NULL; + context->native_pc = context->extra_pc = NULL; }