mirror of
https://github.com/N64Recomp/N64Recomp.git
synced 2025-05-20 02:14:55 +00:00
Update headers to use new namespace in N64ModernRuntime (#74)
This commit is contained in:
parent
6eb7d5bd3e
commit
8dfed04919
4 changed files with 9 additions and 9 deletions
10
src/main.cpp
10
src/main.cpp
|
@ -1434,7 +1434,7 @@ int main(int argc, char** argv) {
|
|||
std::ofstream func_header_file{ config.output_func_path / "funcs.h" };
|
||||
|
||||
fmt::print(func_header_file,
|
||||
"#include \"recomp.h\"\n"
|
||||
"#include \"librecomp/recomp.h\"\n"
|
||||
"\n"
|
||||
"#ifdef __cplusplus\n"
|
||||
"extern \"C\" {{\n"
|
||||
|
@ -1541,7 +1541,7 @@ int main(int argc, char** argv) {
|
|||
single_output_file.open(config.output_func_path / config.elf_path.stem().replace_extension(".c"));
|
||||
// Write the file header
|
||||
fmt::print(single_output_file,
|
||||
"#include \"recomp.h\"\n"
|
||||
"#include \"librecomp/recomp.h\"\n"
|
||||
"#include \"disable_warnings.h\"\n"
|
||||
"#include \"funcs.h\"\n"
|
||||
"\n");
|
||||
|
@ -1659,7 +1659,7 @@ int main(int argc, char** argv) {
|
|||
std::ofstream lookup_file{ config.output_func_path / "lookup.cpp" };
|
||||
|
||||
fmt::print(lookup_file,
|
||||
"#include \"recomp.h\"\n"
|
||||
"#include \"librecomp/recomp.h\"\n"
|
||||
"\n"
|
||||
);
|
||||
|
||||
|
@ -1685,9 +1685,9 @@ int main(int argc, char** argv) {
|
|||
std::string section_load_table = "static SectionTableEntry section_table[] = {\n";
|
||||
|
||||
fmt::print(overlay_file,
|
||||
"#include \"recomp.h\"\n"
|
||||
"#include \"librecomp/recomp.h\"\n"
|
||||
"#include \"funcs.h\"\n"
|
||||
"#include \"sections.h\"\n"
|
||||
"#include \"librecomp/sections.h\"\n"
|
||||
"\n"
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue