Just a hackish workaround since not really sure how to implement proper fix into ppsspp yet:
Note, this requires emulation restart, it will not affect existing savestates. Also the cheat could be 7 lines shorter by just nopping the prefix in delay slot since the branch is never taken heh... or at least I couldn't find any place in game where it was taken, made it longer just to be sure it doesn't break stuff;].
Another note - [Disable] cheat is useless since it requires restart anyway, I care about it only as reminder of the actual problem /uneaten prefix;p.
Edit: decided to port this workaround to other games I knew were affected, since even if this would get fixed properly in the future, support for few platforms was dropped and another one will soon join, so cheat workaround will still be potentially useful for someone out there.
This game also suffers from this affecting water, but that has to be implemented properly.
Code:
_S ULJS-00321
_G Macross Triangle Frontier
_C0 Geometry bug workaround
_L 0xE00800E4 0x0001ABA8
_L 0x2001ABA4 0x0A200004
_L 0x2001ABA8 0x00000000
_L 0x20000010 0x15200003
_L 0x20000014 0x00000000
_L 0x20000018 0x0A206AEB
_L 0x2000001C 0x00000000
_L 0x20000020 0x0A206AEC
_L 0x20000024 0xDD0600E4
_C0 Geometry bug workaround [Disable]
_L 0x2001ABA4 0x15200002 //bne t1,zero,pos_0881ABB0
_L 0x2001ABA8 0xDD0600E4 //vpfxt [X,-Y,-Z,W]
_L 0x2001ABAC 0xDD0500E4 //vpfxt [-X,Y,-Z,W]
// 0881ABB0 //vadd.q C000,C120,C130Another note - [Disable] cheat is useless since it requires restart anyway, I care about it only as reminder of the actual problem /uneaten prefix;p.
Edit: decided to port this workaround to other games I knew were affected, since even if this would get fixed properly in the future, support for few platforms was dropped and another one will soon join, so cheat workaround will still be potentially useful for someone out there.
This game also suffers from this affecting water, but that has to be implemented properly.
http://forums.ppsspp.org/showthread.php?tid=6594 - Custom PPSSPP Shaders!
http://forums.ppsspp.org/showthread.php?tid=3590&pid=117172#pid117172 - simple CE scripts to help creating CWCheats,
https://github.com/LunaMoo/PPSSPP_workarounds - CWCheat workarounds.
http://forums.ppsspp.org/showthread.php?tid=3590&pid=117172#pid117172 - simple CE scripts to help creating CWCheats,
https://github.com/LunaMoo/PPSSPP_workarounds - CWCheat workarounds.

