Skip to content

Commit

Permalink
Merge pull request #11023 from unknownbrackets/file-error
Browse files Browse the repository at this point in the history
Io: Prevent error when file locked for writing
  • Loading branch information
hrydgard authored May 9, 2018
2 parents f7e6709 + 3c698a5 commit c1ccc28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/FileSystems/DirectoryFileSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit c1ccc28

Please sign in to comment.