changeset 1448:9327c1dc3791

Ensure extra_pc is NULL when resuming a save state
author Michael Pavone <pavone@retrodev.com>
date Tue, 29 Aug 2017 00:30:20 -0700
parents a094815b1168
children f82decf0537d
files z80_to_x86.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }