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]
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.
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.