From d01fcd8cb789912e4ad9b9e67107da1539dd00ef Mon Sep 17 00:00:00 2001 From: DestrierStudios Date: Thu, 31 Jul 2025 23:42:27 -0400 Subject: [PATCH] Update recompilation.cpp --- src/recompilation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/recompilation.cpp b/src/recompilation.cpp index 8db67a7..97403ce 100644 --- a/src/recompilation.cpp +++ b/src/recompilation.cpp @@ -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; }