mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Merge pull request #15930 from sum2012/kernel-minor
Fix sceKernelUnlockMutex timing
This commit is contained in:
1 file changed
+3
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user