From 9a5e6d107f85e1fd56f08bb39d092b0053222875 Mon Sep 17 00:00:00 2001 From: skidau Date: Fri, 20 Mar 2015 12:02:28 +0000 Subject: [PATCH] Fixed importing GameShark snapshots git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1238 a31d4220-a93d-0410-bf67-fe4944624d44 --- 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