Fix the Bloodborne fix

This commit is contained in:
Stephen Miller 2025-02-20 19:26:24 -06:00
parent 81e9a547ec
commit 85e466f113

View File

@ -130,9 +130,7 @@ s32 PS4_SYSV_ABI open(const char* raw_path, s32 flags, u16 mode) {
} }
// Create file if it doesn't exist // Create file if it doesn't exist
Common::FS::IOFile out(file->m_host_name, Common::FS::FileAccessMode::Write); Common::FS::IOFile out(file->m_host_name, Common::FS::FileAccessMode::Write);
} } else if (!exists) {
if (!exists) {
// File to open doesn't exist, return ENOENT // File to open doesn't exist, return ENOENT
h->DeleteHandle(handle); h->DeleteHandle(handle);
*__Error() = POSIX_ENOENT; *__Error() = POSIX_ENOENT;