mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Priority-based msgpipes never woke anyone.
Really need to write tests for this and get into it, I guess... Fixes Final Fantasy Tactics.
This commit is contained in:
1 parent
2eb1160272
commit
25f1001db3
1 file changed
+4
-2
@@ -74,9 +74,11 @@ struct MsgPipe : public KernelObject
|
||||
if (__KernelGetThreadPrio(id) >= __KernelGetThreadPrio((*it).id))
|
||||
{
|
||||
list.insert(it, thread);
|
||||
break;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
list.push_back(thread);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -396,7 +398,7 @@ void sceKernelTrySendMsgPipe()
|
||||
return;
|
||||
}
|
||||
|
||||
DEBUG_LOG(HLE, "sceKernelTrySendMsgPipeCB(id=%i, addr=%08x, size=%i, mode=%i, result=%08x)", uid, sendBufAddr, sendSize, waitMode, resultAddr);
|
||||
DEBUG_LOG(HLE, "sceKernelTrySendMsgPipe(id=%i, addr=%08x, size=%i, mode=%i, result=%08x)", uid, sendBufAddr, sendSize, waitMode, resultAddr);
|
||||
__KernelSendMsgPipe(m, sendBufAddr, sendSize, waitMode, resultAddr, 0, false, true);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user