mirror of
https://github.com/N64Recomp/N64Recomp.git
synced 2026-02-07 06:06:33 +00:00
Update recompilation.cpp
This commit is contained in:
parent
d82e67bea5
commit
d01fcd8cb7
1 changed files with 2 additions and 2 deletions
|
|
@ -485,7 +485,7 @@ bool process_instruction(GeneratorType& generator, const N64Recomp::Context& con
|
|||
needs_link_branch = true;
|
||||
// Save the jump target register value before executing the delay slot
|
||||
print_indent();
|
||||
fmt::print(output_file, "auto jalr_target = ctx->r{};\n", rs);
|
||||
fmt::print(output_file, "uint64_t jalr_target = ctx->r{};\n", rs);
|
||||
if (!process_delay_slot(false)) {
|
||||
return false;
|
||||
}
|
||||
|
|
@ -563,7 +563,7 @@ bool process_instruction(GeneratorType& generator, const N64Recomp::Context& con
|
|||
fmt::print("[Info] Indirect tail call in {}\n", func.name);
|
||||
// Save the jump target register value before executing the delay slot
|
||||
print_indent();
|
||||
fmt::print(output_file, "auto jr_target = ctx->r{};\n", rs);
|
||||
fmt::print(output_file, "uint64_t jr_target = ctx->r{};\n", rs);
|
||||
if (!process_delay_slot(false)) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue