mirror of
https://github.com/N64Recomp/N64Recomp.git
synced 2025-03-14 13:21:29 +00:00
Fix function signature for RSP microcodes that don't have overlays (#126)
This commit is contained in:
parent
b2d07ecd5a
commit
b18e0ca2dd
@ -1054,7 +1054,7 @@ void create_function(const std::string& function_name, std::ofstream& output_fil
|
||||
fmt::print(output_file, " r1 = 0xFC0;\n");
|
||||
} else {
|
||||
fmt::print(output_file,
|
||||
"RspExitReason {}(uint8_t* rdram) {{\n"
|
||||
"RspExitReason {}(uint8_t* rdram, [[maybe_unused]] uint32_t ucode_addr) {{\n"
|
||||
" uint32_t r1 = 0, r2 = 0, r3 = 0, r4 = 0, r5 = 0, r6 = 0, r7 = 0;\n"
|
||||
" uint32_t r8 = 0, r9 = 0, r10 = 0, r11 = 0, r12 = 0, r13 = 0, r14 = 0, r15 = 0;\n"
|
||||
" uint32_t r16 = 0, r17 = 0, r18 = 0, r19 = 0, r20 = 0, r21 = 0, r22 = 0, r23 = 0;\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user