XenonRecomp icon indicating copy to clipboard operation
XenonRecomp copied to clipboard

Double branch instructions throw errors in recompilation

Open Jellybaby34 opened this issue 10 months ago • 0 comments

This is probably more of a quirk with UE3 or specifically Army of Two but I found 4 occurences of where two branch (b 0xXXXXXXXX) instructions are next to each other. This causes the recompiler to break them up into multiple functions which don't resolve correctly.

Image

The workaround is to declare the function boundaries but in the current build of XenonRecomp this issue can go unnoticed unless you happen to be searching for the phrase "ERROR" in the PPC files.

This issue is more to document this as a possible occurence when recompiling other 360 titles rather than needing a fix as it took about 5 minutes to rectify when I spotted it.

Jellybaby34 avatar Mar 18 '25 19:03 Jellybaby34