mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-18 17:00:30 +02:00
Io: Prevent error when file locked for writing.
When reopening with file sharing flags fixed it, we shouldn't set error. That would cause the open to still fail.
This commit is contained in:
1 parent
8f5a23b6a8
commit
3c698a5ddb
1 file changed
+1
-1
@@ -252,7 +252,7 @@ bool DirectoryFileHandle::Open(std::string &basePath, std::string &fileName, Fil
|
||||
I18NCategory *err = GetI18NCategory("Error");
|
||||
host->NotifyUserMessage(err->T("Disk full while writing data"));
|
||||
error = SCE_KERNEL_ERROR_ERRNO_NO_PERM;
|
||||
} else {
|
||||
} else if (!success) {
|
||||
error = SCE_KERNEL_ERROR_ERRNO_FILE_NOT_FOUND;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user