mirror of
https://github.com/N64Recomp/N64Recomp.git
synced 2025-05-24 12:24:59 +00:00
Made recompiled output run the game's entrypoint, various reorganization, clang warning fixes
This commit is contained in:
parent
6e45fac005
commit
0af9d489b3
13 changed files with 3921 additions and 100 deletions
|
@ -771,6 +771,7 @@ bool RecompPort::recompile_function(const RecompPort::Context& context, const Re
|
|||
std::ofstream output_file{ output_path.data() };
|
||||
fmt::print(output_file,
|
||||
"#include \"recomp.h\"\n"
|
||||
"#include \"disable_warnings.h\"\n"
|
||||
"\n"
|
||||
"void {}(uint8_t* restrict rdram, recomp_context* restrict ctx) {{\n"
|
||||
// these variables shouldn't need to be preserved across function boundaries, so make them local for more efficient output
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue