summaryrefslogtreecommitdiffstats
path: root/src/core/arm
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-18 09:54:05 +0200
committerLioncash <mathew1800@gmail.com>2018-09-18 09:56:32 +0200
commitead2a4eeb4607ba73f0e9993e78f0e575dbfc32c (patch)
treedc8e87c144dc21e271bd790e5b3c79800e4039c0 /src/core/arm
parentMerge pull request #1311 from FernandoS27/fast-swizzle (diff)
downloadyuzu-ead2a4eeb4607ba73f0e9993e78f0e575dbfc32c.tar
yuzu-ead2a4eeb4607ba73f0e9993e78f0e575dbfc32c.tar.gz
yuzu-ead2a4eeb4607ba73f0e9993e78f0e575dbfc32c.tar.bz2
yuzu-ead2a4eeb4607ba73f0e9993e78f0e575dbfc32c.tar.lz
yuzu-ead2a4eeb4607ba73f0e9993e78f0e575dbfc32c.tar.xz
yuzu-ead2a4eeb4607ba73f0e9993e78f0e575dbfc32c.tar.zst
yuzu-ead2a4eeb4607ba73f0e9993e78f0e575dbfc32c.zip
Diffstat (limited to 'src/core/arm')
-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]);
});
}