summaryrefslogtreecommitdiff
path: root/gst.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2016-04-17 23:50:41 -0700
committerMichael Pavone <pavone@retrodev.com>2016-04-17 23:50:41 -0700
commit4e282f87d2f2ee80e7d136ab6d335227a438caa1 (patch)
tree14af38b66151b5089e79cd6b284595f7f7239a9f /gst.c
parent87e279c0c1accec9b86d70d48241a123e4a0e492 (diff)
Save State menu option is now fully functional. Load state sort of works, but is mostly broken.
Diffstat (limited to 'gst.c')
-rw-r--r--gst.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst.c b/gst.c
index 48dbd0e..533c147 100644
--- a/gst.c
+++ b/gst.c
@@ -95,6 +95,7 @@ uint32_t m68k_load_gst(m68k_context * context, FILE * gstfile)
}
fseek(gstfile, GST_68K_RAM, SEEK_SET);
for (int i = 0; i < (32*1024);) {
+ //FIXME: Need to deal with code in RAM that has potentially changed after this
if (fread(buffer, 1, sizeof(buffer), gstfile) != sizeof(buffer)) {
fputs("Failed to read 68K RAM from savestate\n", stderr);
return 0;