mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 00:13:08 +00:00
Fix the Bloodborne fix
This commit is contained in:
parent
81e9a547ec
commit
85e466f113
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user