Wake good pri threads immediately from HLE delays.

This commit is contained in:
Unknown W. Brackets 2014-06-24 00:44:02 -07:00
parent 118736ff75
commit 6c4a614205

View File

@ -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?");
}