mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-12 09:09:29 +01:00
Io: Correct result on async file not found.
This commit is contained in:
1 parent
c26becb545
commit
c53acfcac9
1 file changed
+2
-2
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user