mirror of https://github.com/PCSX2/pcsx2.git
pcsx2: Fix copy bytes patch command
This adjusts the copy bytes command format from 5aaaaaaa nnnnnnnn 00000000 bbbbbbbb to 5aaaaaaa nnnnnnnn bbbbbbbb 00000000 so that it matches the copy bytes command format used by PS2 cheat devices (GS/CB/XP/AR2).
This commit is contained in:
parent
8600ada735
commit
27c45fc995
|
@ -74,11 +74,11 @@ void handle_extended_t(IniPatch *p)
|
|||
PrevCheatType = 0;
|
||||
break;
|
||||
|
||||
case 0x5000: // dddddddd iiiiiiii
|
||||
case 0x5000: // bbbbbbbb 00000000
|
||||
for (u32 i = 0; i < IterationCount; i++)
|
||||
{
|
||||
u8 mem = memRead8(PrevCheatAddr + i);
|
||||
memWrite8(((u32)p->data) + i, mem);
|
||||
memWrite8((p->addr + i) & 0x0FFFFFFF, mem);
|
||||
}
|
||||
PrevCheatType = 0;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue