From 23e8a32e9c533ec509e7b41a1e4e80baf189fdde 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 88c2afb9..2cb4f075 100644 --- a/src/gba/GBA.cpp +++ b/src/gba/GBA.cpp @@ -1080,7 +1080,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