mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Return errors on disk full for file creation.
This commit is contained in:
1 parent
d4e8bd96af
commit
a6a234add1
7 files changed
+57
-13
No files matched your search
@@ -348,7 +348,13 @@ u32 MetaFileSystem::OpenFile(std::string filename, FileAccess access, const char
|
||||
MountPoint *mount;
|
||||
if (MapFilePath(filename, of, &mount))
|
||||
{
|
||||
return mount->system->OpenFile(of, access, mount->prefix.c_str());
|
||||
s32 res = mount->system->OpenFile(of, access, mount->prefix.c_str());
|
||||
if (res < 0)
|
||||
{
|
||||
lastOpenError = res;
|
||||
return 0;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user