diff options
author | bunnei <bunneidev@gmail.com> | 2019-10-18 01:52:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-18 01:52:24 +0200 |
commit | d1713ad45123cf5579a3e0f55bc9d1903a8a6e81 (patch) | |
tree | cc900ad06cf5930e415d0c1ec4851a8d86174aa3 | |
parent | Merge pull request #2966 from FernandoS27/astc-formats (diff) | |
parent | dmnt_cheat_vm: Correct register Restore and ClearRegs behavior (diff) | |
download | yuzu-d1713ad45123cf5579a3e0f55bc9d1903a8a6e81.tar yuzu-d1713ad45123cf5579a3e0f55bc9d1903a8a6e81.tar.gz yuzu-d1713ad45123cf5579a3e0f55bc9d1903a8a6e81.tar.bz2 yuzu-d1713ad45123cf5579a3e0f55bc9d1903a8a6e81.tar.lz yuzu-d1713ad45123cf5579a3e0f55bc9d1903a8a6e81.tar.xz yuzu-d1713ad45123cf5579a3e0f55bc9d1903a8a6e81.tar.zst yuzu-d1713ad45123cf5579a3e0f55bc9d1903a8a6e81.zip |
-rw-r--r-- | src/core/memory/dmnt_cheat_vm.cpp | 4 |
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++) { |