mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-19 19:15:26 +00:00
16b atomic load fix
This commit is contained in:
parent
11b0b6958f
commit
9767cc84b0
1 changed files with 1 additions and 1 deletions
|
@ -536,7 +536,7 @@ struct atomic_storage<T, 16> : atomic_storage<T, 0>
|
|||
|
||||
static inline T load(const T& dest)
|
||||
{
|
||||
llong result[2];
|
||||
llong result[2]{0, 0};
|
||||
_InterlockedCompareExchange128((volatile llong*)&dest, 0, 0, result);
|
||||
return *(T*)+result;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue