1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00

Update sys_mutex.h

This commit is contained in:
Elad Ashkenazi 2023-06-03 17:36:55 +03:00 committed by Ani
parent 33558d14e5
commit feff50e7e0

View File

@ -171,7 +171,7 @@ struct lv2_mutex final : lv2_obj
{
res = schedule<T>(data.sq, protocol, false);
if (sq == data.sq)
if (sq == res)
{
atomic_storage<u32>::release(control.raw().owner, res->id);
return false;