mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-23 11:19:03 +02:00
Merge pull request #3861 from kaienfr/fix_cwcheat_0x5
fix cwcheat Memcpy command 0x5
This commit is contained in:
commit
3c96750317
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user