From 42a10991ba83d3bcf69a28b4a1d775106184f61a Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Tue, 29 Aug 2017 00:30:20 -0700 Subject: Ensure extra_pc is NULL when resuming a save state --- z80_to_x86.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/z80_to_x86.c b/z80_to_x86.c index 615419f..b88b3ba 100644 --- a/z80_to_x86.c +++ b/z80_to_x86.c @@ -3931,6 +3931,6 @@ void z80_deserialize(deserialize_buffer *buf, void *vcontext) 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; } -- cgit v1.2.3