summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2016-12-19 13:46:58 -0800
committerMichael Pavone <pavone@retrodev.com>2016-12-19 13:46:58 -0800
commit4c010e5cddadb5e65c71f9296b9f2f3eef69003b (patch)
tree518217b5a7863970a7bce8192fbf58da84e3c7ae
parent7b8127d36a9c6a824da4f1709bdee12c40c631a5 (diff)
Fix intermittent crash in GST savestate loading
-rw-r--r--gst.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst.c b/gst.c
index 4a16b0b..e2bc95c 100644
--- a/gst.c
+++ b/gst.c
@@ -214,6 +214,7 @@ uint8_t z80_load_gst(z80_context * context, FILE * gstfile)
}
}
context->native_pc = NULL;
+ context->extra_pc = NULL;
return 1;
}