mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix sceKernelUnlockMutex timing
Fix https://github.com/hrydgard/ppsspp/issues/6557
This commit is contained in:
parent
59813fff6d
commit
75390be142
1 changed files with 3 additions and 1 deletions
|
@ -657,8 +657,10 @@ int sceKernelUnlockMutex(SceUID id, int count)
|
|||
|
||||
if (mutex->nm.lockLevel == 0)
|
||||
{
|
||||
if (__KernelUnlockMutex(mutex, error))
|
||||
if (__KernelUnlockMutex(mutex, error)) {
|
||||
hleReSchedule("mutex unlocked");
|
||||
return hleDelayResult(0, "unlock", 150);
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue