mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-16 23:17:29 +00:00
atomic.cpp: fix waiting on multiple variables
Silly bugs are so silly...
This commit is contained in:
parent
00f877e812
commit
3ac819ee70
@ -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);
|
||||
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++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user