mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 19:34:39 +01:00
Io: Check callbacks in sceIoWaitAsyncCB().
This commit is contained in:
1 parent
e817d79c39
commit
8e77db2b72
1 file changed
+1
-1
+1
-1
@@ -2151,7 +2151,7 @@ static int sceIoWaitAsyncCB(int id, u32 address) {
|
||||
DEBUG_LOG(SCEIO, "%lli = sceIoWaitAsyncCB(%i, %08x): waiting", f->asyncResult, id, address);
|
||||
// TODO: This seems to re-enable dispatch or something?
|
||||
f->waitingThreads.push_back(__KernelGetCurThread());
|
||||
__KernelWaitCurThread(WAITTYPE_ASYNCIO, f->GetUID(), address, 0, false, "io waited");
|
||||
__KernelWaitCurThread(WAITTYPE_ASYNCIO, f->GetUID(), address, 0, true, "io waited");
|
||||
} else if (f->hasAsyncResult) {
|
||||
DEBUG_LOG(SCEIO, "%lli = sceIoWaitAsyncCB(%i, %08x)", f->asyncResult, id, address);
|
||||
Memory::Write_U64((u64) f->asyncResult, address);
|
||||
|
||||
Reference in new issue
Block a user