This commit is contained in:
Nekotekina 2015-03-11 13:41:20 +03:00
parent a19a13136c
commit 03219a9a4e

View file

@ -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());
// check owner
if (lwmutex->owner.read_sync() != tid)
if (lwmutex->owner.read_relaxed() != tid)
{
return CELL_EPERM;
}