Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
About the implementation of type 5 cheat code
#1
I recently knew Codemasters Project/PS2/Code Types, but the description of type 5 code seems to differ from the implementation of pcsx2. (from the source code: pcsx2\Patch_Memory.cpp)
I also confirmed using some pnach examples of type 5 code on pcsx2 r5761.

[attachment=47271]

Code:
the website         pcsx2
5aaaaaaa nnnnnnnn   5aaaaaaa nnnnnnnn   a = Address to copy from
bbbbbbbb 00000000   00000000 bbbbbbbb   b = Address to copy to
.                                       n = Number of bytes to copy

Could anyone tell me how being decided the implementation of type 5 code of pcsx2?
I mean not saying it's not correct. I just want to know the reason because I don't know even the description of the website is correct or not.
Thanks in advance.
Reply

Sponsored links

#2
I saw that post, but I didn't answer it because this is well over my head.

From your screenshot, it looks like it only works when the bottom part is reversed.

bbbbbbbb 00000000


vs

00000000 bbbbbbbb

Is that what you are saying?
[Image: vwah44]
Gaming: Intel i7 3770k @ 4.2Ghz | R9 290 | 16GB RAM | 480GB(240GB+240GB RAID0) SSD | 3 TB HDD | 1 TB HDD | 500GB HDD
Server: AMD FX 6300 @ 4.4Ghz | GTX 670 | 16GB RAM | 240GB SSD | 320GB HDD
PCSX2 General Troubleshooting FAQ
Reply
#3
Yeah, that's right.
Reply




Users browsing this thread: 1 Guest(s)