mirror of
https://github.com/N64Recomp/N64Recomp.git
synced 2025-05-24 12:24:59 +00:00
Add option to output multiple functions per file, defaults to 50 (#88)
This commit is contained in:
parent
424a509b22
commit
f8d439aeee
4 changed files with 51 additions and 10 deletions
|
@ -1246,7 +1246,7 @@ bool RecompPort::recompile_function(const RecompPort::Context& context, const Re
|
|||
}
|
||||
|
||||
fmt::print(output_file,
|
||||
"void {}(uint8_t* rdram, recomp_context* ctx) {{\n"
|
||||
"RECOMP_FUNC void {}(uint8_t* rdram, recomp_context* ctx) {{\n"
|
||||
// these variables shouldn't need to be preserved across function boundaries, so make them local for more efficient output
|
||||
" uint64_t hi = 0, lo = 0, result = 0;\n"
|
||||
" unsigned int rounding_mode = DEFAULT_ROUNDING_MODE;\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue