Skip to content

Commit

Permalink
Update sys_mutex.h
Browse files Browse the repository at this point in the history
  • Loading branch information
elad335 authored Aug 8, 2022
1 parent 2bd6ef8 commit e7e3094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpcs3/Emu/Cell/lv2/sys_mutex.h
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ struct lv2_mutex final : lv2_obj
res = nullptr;
}

if (auto sq = data.sq)
if (auto sq = static_cast<T*>(data.sq))
{
restore_next = sq->next_cpu;
res = schedule<T>(data.sq, protocol);
Expand Down

0 comments on commit e7e3094

Please sign in to comment.