aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/memory
diff options
context:
space:
mode:
authorLiam <[email protected]>2022-11-20 10:14:22 -0500
committerLiam <[email protected]>2022-11-20 10:14:22 -0500
commiteb0713f78171b2b3fcc19d3d4017fcb76a055909 (patch)
treebdc04de7ca93c2b44f167d8e04e6ef6ad98a891f /src/core/memory
parent57a05b1653b316412492b7cf83738b702865b47e (diff)
downloadyuzu-mainline-eb0713f78171b2b3fcc19d3d4017fcb76a055909.tar.gz
yuzu-mainline-eb0713f78171b2b3fcc19d3d4017fcb76a055909.zip
dmnt:cht: fix copy-paste error
Diffstat (limited to 'src/core/memory')
-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 de96fcb8e..31ffc4fbb 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: