This commit is contained in:
Nekotekina 2015-03-11 01:48:17 +03:00
parent fe4ab0abbb
commit 116638f352

View File

@ -311,7 +311,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_relaxed() != tid)
if (lwmutex->owner.read_sync() != tid)
{
return CELL_EPERM;
}