XenonRecomp
XenonRecomp copied to clipboard
Double branch instructions throw errors in recompilation
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.
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.