From 4e282f87d2f2ee80e7d136ab6d335227a438caa1 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Sun, 17 Apr 2016 23:50:41 -0700 Subject: Save State menu option is now fully functional. Load state sort of works, but is mostly broken. --- gst.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gst.c') 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; -- cgit v1.2.3