mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Wake good pri threads immediately from HLE delays.
This commit is contained in:
parent
118736ff75
commit
6c4a614205
@ -78,7 +78,10 @@ void hleDelayResultFinish(u64 userdata, int cycleslate)
|
||||
u64 result = (userdata & 0xFFFFFFFF00000000ULL) | __KernelGetWaitValue(threadID, error);
|
||||
|
||||
if (error == 0 && verify == 1)
|
||||
{
|
||||
__KernelResumeThreadFromWait(threadID, result);
|
||||
__KernelReSchedule("woke from hle delay");
|
||||
}
|
||||
else
|
||||
WARN_LOG(HLE, "Someone else woke up HLE-blocked thread?");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user