mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-27 18:30:56 +00:00
cwcheat fix
Fix Criminal girls Money cheat _S NPJH-50316 _G CRIMINALGIRLS _C1 MONEY _L 0x01693FF8 0x000AAE60
This commit is contained in:
parent
2e91adc607
commit
9eaec5be58
@ -264,17 +264,10 @@ void CWCheatEngine::Run() {
|
||||
int addr = GetAddress(comm & 0x0FFFFFFF);
|
||||
|
||||
switch (comm >> 28) {
|
||||
case 0: // 8-bit write.
|
||||
if (Memory::IsValidAddress(addr)){
|
||||
Memory::Write_U8((u8) arg, addr);
|
||||
}
|
||||
break;
|
||||
case 0: // 8-bit write
|
||||
case 0x1: // 16-bit write
|
||||
if (Memory::IsValidAddress(addr)){
|
||||
Memory::Write_U16((u16) arg, addr);
|
||||
}
|
||||
break;
|
||||
case 0x2: // 32-bit write
|
||||
// 8,16,32 bit write should be the same)
|
||||
if (Memory::IsValidAddress(addr)){
|
||||
Memory::Write_U32((u32) arg, addr);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user