Merge pull request #3861 from kaienfr/fix_cwcheat_0x5

fix cwcheat Memcpy command 0x5
This commit is contained in:
Henrik Rydgård committed 2013-09-21 08:33:20 -07:00
commit 3c96750317
1 file changed
+1 -1
+1 -1
View File
@@ -311,7 +311,7 @@ void CWCheatEngine::Run() {
case 0x5: // Memcpy command
code = GetNextCode();
if (true) {
int destAddr = code[0];
int destAddr = GetAddress(code[0]);
if (Memory::IsValidAddress(addr) && Memory::IsValidAddress(destAddr)) {
Memory::Memcpy(destAddr, Memory::GetPointer(addr), arg);
}