mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 13:01:27 +12:00
cond_variable: fix warning in cond.h for MSVC
This commit is contained in:
parent
e7d67f9732
commit
3121fecc8f
2 changed files with 4 additions and 2 deletions
|
@ -17,7 +17,8 @@ void cond_variable::imp_wait(u32 _old, u64 _timeout) noexcept
|
|||
// Cleanup
|
||||
m_value.atomic_op([](u32& value)
|
||||
{
|
||||
value -= c_waiter_mask & -c_waiter_mask;
|
||||
// Remove waiter (c_waiter_mask)
|
||||
value -= 1;
|
||||
|
||||
if ((value & c_waiter_mask) == 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue