summaryrefslogtreecommitdiffstats
path: root/src/core/arm/dynarmic/arm_dynarmic.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-09-18 20:23:57 +0200
committerGitHub <noreply@github.com>2018-09-18 20:23:57 +0200
commitc7a4bf5074974b58db69e9f39440b058c4e94efc (patch)
treef55d168b3980cd093120d7d30396b0b71603333d /src/core/arm/dynarmic/arm_dynarmic.cpp
parentMerge pull request #1290 from FernandoS27/shader-header (diff)
parentarm_dynarmic: Correct ExclusiveWrite128()'s operation (diff)
downloadyuzu-c7a4bf5074974b58db69e9f39440b058c4e94efc.tar
yuzu-c7a4bf5074974b58db69e9f39440b058c4e94efc.tar.gz
yuzu-c7a4bf5074974b58db69e9f39440b058c4e94efc.tar.bz2
yuzu-c7a4bf5074974b58db69e9f39440b058c4e94efc.tar.lz
yuzu-c7a4bf5074974b58db69e9f39440b058c4e94efc.tar.xz
yuzu-c7a4bf5074974b58db69e9f39440b058c4e94efc.tar.zst
yuzu-c7a4bf5074974b58db69e9f39440b058c4e94efc.zip
Diffstat (limited to 'src/core/arm/dynarmic/arm_dynarmic.cpp')
-rw-r--r--src/core/arm/dynarmic/arm_dynarmic.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/arm/dynarmic/arm_dynarmic.cpp b/src/core/arm/dynarmic/arm_dynarmic.cpp
index 0c175d872..6db81c014 100644
--- a/src/core/arm/dynarmic/arm_dynarmic.cpp
+++ b/src/core/arm/dynarmic/arm_dynarmic.cpp
@@ -304,8 +304,8 @@ bool DynarmicExclusiveMonitor::ExclusiveWrite64(std::size_t core_index, VAddr va
bool DynarmicExclusiveMonitor::ExclusiveWrite128(std::size_t core_index, VAddr vaddr, u128 value) {
return monitor.DoExclusiveOperation(core_index, vaddr, 16, [&] {
- Memory::Write64(vaddr, value[0]);
- Memory::Write64(vaddr, value[1]);
+ Memory::Write64(vaddr + 0, value[0]);
+ Memory::Write64(vaddr + 8, value[1]);
});
}