mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Io: Correct result on async file not found.
This commit is contained in:
parent
c26becb545
commit
c53acfcac9
1 changed files with 2 additions and 2 deletions
|
@ -2038,9 +2038,9 @@ static u32 sceIoOpenAsync(const char *filename, int flags, int mode)
|
|||
params.open.mode = mode;
|
||||
IoStartAsyncThread(fd, f);
|
||||
|
||||
if (f == nullptr) {
|
||||
if (error != 0) {
|
||||
f->asyncResult = (s64)error;
|
||||
return hleLogError(SCEIO, f->asyncResult, "file not found");
|
||||
return hleLogError(SCEIO, fd, "file not found");
|
||||
}
|
||||
|
||||
f->asyncResult = fd;
|
||||
|
|
Loading…
Add table
Reference in a new issue