mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-06 00:59:18 +00:00
16b atomic load fix
This commit is contained in:
parent
11b0b6958f
commit
9767cc84b0
@ -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…
Reference in New Issue
Block a user