diff --git a/Core/CwCheat.cpp b/Core/CwCheat.cpp index 026fb2a56d..92d205fbca 100644 --- a/Core/CwCheat.cpp +++ b/Core/CwCheat.cpp @@ -601,7 +601,7 @@ void CWCheatEngine::Run() { } else if (arg >> 28 == 0x4 || arg >> 28 == 0x5 || arg >> 28 == 0x6 || arg >> 28 == 0x7) { int addr1 = GetAddress(comm & 0x0FFFFFFF); - int addr2 = GetAddress(arg & 0xFFFFFFFF); + int addr2 = GetAddress(arg & 0x0FFFFFFF); code = GetNextCode(); if (true) if (Memory::IsValidAddress(addr1) && Memory::IsValidAddress(addr2)) {