From 69d685214178667499de348a6ecc41c0b6a01194 Mon Sep 17 00:00:00 2001 From: kaienfr Date: Sat, 21 Sep 2013 17:12:34 +0200 Subject: [PATCH] fix cwcheat Memcpy command 0x5 --- Core/CwCheat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/CwCheat.cpp b/Core/CwCheat.cpp index f60542373e..6c6ea94ecf 100644 --- a/Core/CwCheat.cpp +++ b/Core/CwCheat.cpp @@ -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); }