mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-14 08:12:16 +00:00
hotfix: fix inverted operator on GetDents
This commit is contained in:
parent
98f0cb65d7
commit
15ae7a094d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue