aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-11-20 13:30:35 -0500
committerGitHub <noreply@github.com>2022-11-20 13:30:35 -0500
commitaab68674c0c0174c9f23c9eb8ff350104aee530b (patch)
treedf40176849191d0a99d814fe4c9c505d04ae6239 /src
parent7f1c6def1f0bab38c8f89766ca9de670fd126a25 (diff)
parenteb0713f78171b2b3fcc19d3d4017fcb76a055909 (diff)
Merge pull request #9279 from liamwhite/this-would-have-never-happened-in-rust
dmnt:cht: fix copy-paste error
Diffstat (limited to 'src')
-rw-r--r--src/core/memory/dmnt_cheat_vm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/memory/dmnt_cheat_vm.cpp b/src/core/memory/dmnt_cheat_vm.cpp
index de96fcb8e4..31ffc4fbba 100644
--- a/src/core/memory/dmnt_cheat_vm.cpp
+++ b/src/core/memory/dmnt_cheat_vm.cpp
@@ -761,7 +761,7 @@ void DmntCheatVm::Execute(const CheatProcessMetadata& metadata) {
u64 src_address =
GetCheatProcessAddress(metadata, begin_cond->mem_type, begin_cond->rel_address);
u64 src_value = 0;
- switch (store_static->bit_width) {
+ switch (begin_cond->bit_width) {
case 1:
case 2:
case 4: