diff gst.c @ 961:750995b587a0

Save State menu option is now fully functional. Load state sort of works, but is mostly broken.
author Michael Pavone <pavone@retrodev.com>
date Sun, 17 Apr 2016 23:50:41 -0700
parents cbf97d335444
children f52cb02a1466
line wrap: on
line diff
--- a/gst.c	Sun Apr 17 20:31:22 2016 -0700
+++ b/gst.c	Sun Apr 17 23:50:41 2016 -0700
@@ -95,6 +95,7 @@
 	}
 	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;