summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2017-08-29 00:30:20 -0700
committerMichael Pavone <pavone@retrodev.com>2017-08-29 00:30:20 -0700
commit42a10991ba83d3bcf69a28b4a1d775106184f61a (patch)
tree5b979569e3460b025ec9b6392562459c27d54a8b
parent1673cb33158a79d2f238606bc0ed1e6385498773 (diff)
Ensure extra_pc is NULL when resuming a save state
-rw-r--r--z80_to_x86.c2
1 files changed, 1 insertions, 1 deletions
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;
}