N64Recomp / N64Recomp

Tool to statically recompile N64 games into native executables

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a temp for jalr jump target

Mr-Wiseguy opened this issue · comments

Currently, if the delay slot instruction for a jalr modifies the jump target register then the jalr will lookup the wrong address for the function call. Add a temp to record the jalr target that records the register value before the delay slot is run to prevent this from happening.