mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 07:50:28 +02:00
Consider threads still waiting until they wake.
This seems to match the actual behavior of timeouts much better.
This commit is contained in:
1 parent
48c5efd0c2
commit
998104e2eb
3 files changed
+42
-20
No files matched your search
@@ -1545,6 +1545,10 @@ void __KernelSwitchContext(Thread *target, const char *reason)
|
||||
__KernelLoadContext(¤tThread->context);
|
||||
DEBUG_LOG(HLE,"Context loaded (%s): %i - %s - pc: %08x", reason, currentThread->GetUID(), currentThread->GetName(), currentMIPS->pc);
|
||||
|
||||
// No longer waiting.
|
||||
currentThread->nt.waitType = WAITTYPE_NONE;
|
||||
currentThread->nt.waitID = 0;
|
||||
|
||||
__KernelExecutePendingMipsCalls();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user