From eb0713f78171b2b3fcc19d3d4017fcb76a055909 Mon Sep 17 00:00:00 2001 From: Liam Date: Sun, 20 Nov 2022 10:14:22 -0500 Subject: dmnt:cht: fix copy-paste error --- src/core/memory/dmnt_cheat_vm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3