Merge pull request #169 from Xele02/master

Add Missing CoseFile
This commit is contained in:
Henrik Rydgård committed 2012-12-11 15:49:06 -08:00
commit 8238acd0b4
1 file changed
+2
+2
View File
@@ -205,9 +205,11 @@ bool SavedataParam::Load(SceUtilitySavedataParam* param, int saveId)
}
if(!pspFileSystem.ReadFile(handle, data_, param->dataBufSize))
{
pspFileSystem.CloseFile(handle);
ERROR_LOG(HLE,"Error reading file %s",filePath.c_str());
return false;
}
pspFileSystem.CloseFile(handle);
return true;
}