This commit is contained in:
Stephen Miller 2025-04-30 12:30:52 -05:00
parent 9532c07c34
commit 1efce1ac0c

View File

@ -132,7 +132,6 @@ s32 PS4_SYSV_ABI open(const char* raw_path, s32 flags, u16 mode) {
file->type = Core::FileSys::FileType::Regular;
}
if (directory) {
if (!std::filesystem::is_directory(file->m_host_name)) {
// If the opened file is not a directory, return ENOTDIR.