mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 23:41:26 +12:00
Fix
This commit is contained in:
parent
a19a13136c
commit
03219a9a4e
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ s32 sys_lwmutex_unlock(PPUThread& CPU, vm::ptr<sys_lwmutex_t> lwmutex)
|
||||||
const be_t<u32> tid = be_t<u32>::make(CPU.GetId());
|
const be_t<u32> tid = be_t<u32>::make(CPU.GetId());
|
||||||
|
|
||||||
// check owner
|
// check owner
|
||||||
if (lwmutex->owner.read_sync() != tid)
|
if (lwmutex->owner.read_relaxed() != tid)
|
||||||
{
|
{
|
||||||
return CELL_EPERM;
|
return CELL_EPERM;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue