mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 21:41:26 +12:00
Update sys_mutex.h
This commit is contained in:
parent
33558d14e5
commit
feff50e7e0
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ struct lv2_mutex final : lv2_obj
|
||||||
{
|
{
|
||||||
res = schedule<T>(data.sq, protocol, false);
|
res = schedule<T>(data.sq, protocol, false);
|
||||||
|
|
||||||
if (sq == data.sq)
|
if (sq == res)
|
||||||
{
|
{
|
||||||
atomic_storage<u32>::release(control.raw().owner, res->id);
|
atomic_storage<u32>::release(control.raw().owner, res->id);
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue