mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-29 03:44:42 +01:00
Fix shared_mutex::lock_forced
This commit is contained in:
parent
dcf585455d
commit
881e5b8bcc
|
|
@ -158,7 +158,7 @@ bool shared_mutex::lock_forced(int count) {
|
|||
return atomic_op(m_value, [&](unsigned &v) {
|
||||
if (v & c_sig) {
|
||||
v -= c_sig;
|
||||
v += c_one * (count - 1);
|
||||
v += c_one * count;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue