diff gst.c @ 708:61faa298af07

Small horizontal interrupt fixes
author Michael Pavone <pavone@retrodev.com>
date Thu, 14 May 2015 23:17:55 -0700
parents 5439ae7946ca
children cbf97d335444
line wrap: on
line diff
--- a/gst.c	Thu May 14 00:04:22 2015 -0700
+++ b/gst.c	Thu May 14 23:17:55 2015 -0700
@@ -423,7 +423,7 @@
 		fprintf(stderr, "Could not read ident code from %s\n", fname);
 		goto error_close;
 	}
-	if (memcmp(ident, "GST\x40\xE0", 5) != 0) {
+	if (memcmp(ident, "GST\x40\xE0", 3) != 0) {
 		fprintf(stderr, "%s doesn't appear to be a GST savestate. The ident code is %c%c%c\\x%X\\x%X instead of GST\\x40\\xE0.\n", fname, ident[0], ident[1], ident[2], ident[3], ident[4]);
 		goto error_close;
 	}