mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-08 23:07:31 +00:00
Add missing CloseFile
This commit is contained in:
parent
2b448bdcad
commit
c079bbf776
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user