Merge pull request #6630 from Krude/cwcheat-fix

Fix Cwcheat code type for address compare
This commit is contained in:
Henrik Rydgård committed 2014-07-25 13:23:53 +02:00
commit 5f647991eb
1 file changed
+1 -1
+1 -1
View File
@@ -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)) {