mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
Compilation fix
This commit is contained in:
parent
3304cfacde
commit
59382e023d
1 changed files with 4 additions and 4 deletions
|
@ -29,17 +29,17 @@ namespace stx
|
|||
{
|
||||
auto [val, ok] = _this->m_state.fetch_op([](u32& value)
|
||||
{
|
||||
if (val == 0)
|
||||
if (value == 0)
|
||||
{
|
||||
val = 1;
|
||||
value = 1;
|
||||
return true;
|
||||
}
|
||||
|
||||
if constexpr (sizeof...(FAndArgs))
|
||||
{
|
||||
if (val & c_init_bit)
|
||||
if (value & c_init_bit)
|
||||
{
|
||||
val -= c_init_bit - 1;
|
||||
value -= c_init_bit - 1;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue