mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-21 09:49:27 +00:00
atomic.cpp: fix waiting on multiple variables
Silly bugs are so silly...
This commit is contained in:
parent
00f877e812
commit
3ac819ee70
1 changed files with 1 additions and 1 deletions
|
@ -1049,7 +1049,7 @@ atomic_wait_engine::wait(const void* data, u32 size, __m128i old_value, u64 time
|
||||||
}
|
}
|
||||||
|
|
||||||
iptr_ext[ext_size] = reinterpret_cast<std::uintptr_t>(e->data) & (~s_ref_mask >> 17);
|
iptr_ext[ext_size] = reinterpret_cast<std::uintptr_t>(e->data) & (~s_ref_mask >> 17);
|
||||||
root_ext[ext_size] = &s_hashtable[iptr & s_hashtable_size];
|
root_ext[ext_size] = &s_hashtable[iptr_ext[ext_size] % s_hashtable_size];
|
||||||
ext_size++;
|
ext_size++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue