mirror of
https://github.com/N64Recomp/N64Recomp.git
synced 2025-05-24 20:34:59 +00:00
Added MM aspMain parameters to rsp recomp, added voice and flash to special function lists
This commit is contained in:
parent
5c5f6a51ad
commit
52644095f0
3 changed files with 144 additions and 39 deletions
|
@ -974,6 +974,10 @@ bool RecompPort::recompile_function(const RecompPort::Context& context, const Re
|
|||
|
||||
// Open the output file and write the file header
|
||||
std::ofstream output_file{ output_path.data() };
|
||||
if (!output_file.good()) {
|
||||
fmt::print(stderr, "Failed to open file for writing: {}\n", output_path);
|
||||
return false;
|
||||
}
|
||||
fmt::print(output_file,
|
||||
"#include \"recomp.h\"\n"
|
||||
"#include \"disable_warnings.h\"\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue