mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-21 08:00:54 +01:00
atomic.hpp: fixup (rsp addressing)
This commit is contained in:
parent
2602be426f
commit
062c605eb1
|
|
@ -52,7 +52,7 @@ FORCE_INLINE void atomic_fence_seq_cst()
|
|||
_InterlockedOr(static_cast<long*>(_AddressOfReturnAddress()), 0);
|
||||
_ReadWriteBarrier();
|
||||
#else
|
||||
__asm__ volatile ("lock orl $0, 0(%%esp);" ::: "cc", "memory");
|
||||
__asm__ volatile ("lock orl $0, 0(%%rsp);" ::: "cc", "memory");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue