mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-02-18 11:30:11 +00:00
hotfix: fix inverted operator on GetDents
This commit is contained in:
parent
98f0cb65d7
commit
15ae7a094d
|
@ -656,7 +656,7 @@ static int GetDents(int fd, char* buf, int nbytes, s64* basep) {
|
|||
if (file == nullptr) {
|
||||
return ORBIS_KERNEL_ERROR_EBADF;
|
||||
}
|
||||
if (file->type != Core::FileSys::FileType::Device) {
|
||||
if (file->type == Core::FileSys::FileType::Device) {
|
||||
return file->device->getdents(buf, nbytes, basep);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue