mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-08 07:55:35 +00:00
SC_Lwcond fixed
This commit is contained in:
parent
d0ea397492
commit
be80a7c39c
4 changed files with 96 additions and 95 deletions
|
|
@ -44,8 +44,10 @@ void sys_spinlock_unlock(mem_ptr_t<spinlock> lock)
|
|||
{
|
||||
sys_spinlock.Log("sys_spinlock_unlock(lock_addr=0x%x)", lock.GetAddr());
|
||||
|
||||
again:
|
||||
switch (lock->mutex.unlock(lock->mutex.GetOwner()))
|
||||
{
|
||||
case SMR_PERMITTED: goto again;
|
||||
default: break;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue