summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-11-20 16:14:22 +0100
committerLiam <byteslice@airmail.cc>2022-11-20 16:14:22 +0100
commiteb0713f78171b2b3fcc19d3d4017fcb76a055909 (patch)
treebdc04de7ca93c2b44f167d8e04e6ef6ad98a891f
parentMerge pull request #9238 from german77/cabinet_applet (diff)
downloadyuzu-eb0713f78171b2b3fcc19d3d4017fcb76a055909.tar
yuzu-eb0713f78171b2b3fcc19d3d4017fcb76a055909.tar.gz
yuzu-eb0713f78171b2b3fcc19d3d4017fcb76a055909.tar.bz2
yuzu-eb0713f78171b2b3fcc19d3d4017fcb76a055909.tar.lz
yuzu-eb0713f78171b2b3fcc19d3d4017fcb76a055909.tar.xz
yuzu-eb0713f78171b2b3fcc19d3d4017fcb76a055909.tar.zst
yuzu-eb0713f78171b2b3fcc19d3d4017fcb76a055909.zip
-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: