mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-01 03:32:07 +00:00
Fixup for fixup (#6153)
* Fixup for fixup * Fix memory ordering for MTRSX volatile doesnt block reordering. * ugh
This commit is contained in:
parent
43f919c04b
commit
2bce367488
@ -5,6 +5,7 @@
|
||||
#include "RSXOffload.h"
|
||||
|
||||
#include <thread>
|
||||
#include <atomic>
|
||||
|
||||
namespace rsx
|
||||
{
|
||||
@ -57,6 +58,7 @@ namespace rsx
|
||||
fmt::throw_exception("Unreachable" HERE);
|
||||
}
|
||||
|
||||
std::atomic_thread_fence(std::memory_order_release);
|
||||
++m_processed_count;
|
||||
}
|
||||
}
|
||||
|
@ -116,7 +116,7 @@ namespace rsx
|
||||
|
||||
if (LIKELY(g_use_rtm))
|
||||
{
|
||||
vm::_ref<atomic_t<u32>>(addr) = arg;
|
||||
vm::_ref<atomic_be_t<u32>>(addr) = arg;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user