summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-10-18 00:48:38 +0200
committerLioncash <mathew1800@gmail.com>2019-10-18 00:49:39 +0200
commit2c34d8aabb138753c32a955086ff5948f43632dc (patch)
tree94b1710263fd8c9885b3c2c7241b898bb8cd7631 /src
parentMerge pull request #2980 from lioncash/warn (diff)
downloadyuzu-2c34d8aabb138753c32a955086ff5948f43632dc.tar
yuzu-2c34d8aabb138753c32a955086ff5948f43632dc.tar.gz
yuzu-2c34d8aabb138753c32a955086ff5948f43632dc.tar.bz2
yuzu-2c34d8aabb138753c32a955086ff5948f43632dc.tar.lz
yuzu-2c34d8aabb138753c32a955086ff5948f43632dc.tar.xz
yuzu-2c34d8aabb138753c32a955086ff5948f43632dc.tar.zst
yuzu-2c34d8aabb138753c32a955086ff5948f43632dc.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/memory/dmnt_cheat_vm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/memory/dmnt_cheat_vm.cpp b/src/core/memory/dmnt_cheat_vm.cpp
index cc16d15a4..4f4fa5099 100644
--- a/src/core/memory/dmnt_cheat_vm.cpp
+++ b/src/core/memory/dmnt_cheat_vm.cpp
@@ -1133,8 +1133,8 @@ void DmntCheatVm::Execute(const CheatProcessMetadata& metadata) {
case SaveRestoreRegisterOpType::ClearRegs:
case SaveRestoreRegisterOpType::Restore:
default:
- src = registers.data();
- dst = saved_values.data();
+ src = saved_values.data();
+ dst = registers.data();
break;
}
for (std::size_t i = 0; i < NumRegisters; i++) {