Merge pull request #9279 from liamwhite/this-would-have-never-happened-in-rust

dmnt:cht: fix copy-paste error
This commit is contained in:
Morph 2022-11-20 13:30:35 -05:00 committed by GitHub
commit aab68674c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: