From c7a7e0439576a07e0c3a618c3b227665e738ad79 Mon Sep 17 00:00:00 2001 From: skidau Date: Fri, 20 Mar 2015 12:02:28 +0000 Subject: [PATCH] Fixed importing GameShark snapshots --- src/gba/GBA.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gba/GBA.cpp b/src/gba/GBA.cpp index 92120977..4a6183e7 100644 --- a/src/gba/GBA.cpp +++ b/src/gba/GBA.cpp @@ -1078,7 +1078,7 @@ bool CPUReadGSASnapshot(const char *fileName) fseek(file, 0x0, SEEK_SET); fread(&i, 1, 4, file); fseek(file, i, SEEK_CUR); // Skip SharkPortSave -// fseek(file, 4, SEEK_CUR); // skip some sort of flag + fseek(file, 4, SEEK_CUR); // skip some sort of flag fread(&i, 1, 4, file); // name length fseek(file, i, SEEK_CUR); // skip name fread(&i, 1, 4, file); // desc length