mirror of
https://github.com/N64Recomp/N64Recomp.git
synced 2026-09-08 17:56:20 -05:00
Fixed out of bounds error in writing section load addresses
This commit is contained in:
@@ -1131,6 +1131,8 @@ int main(int argc, char** argv) {
|
||||
section_load_table += "};\n";
|
||||
|
||||
fmt::print(overlay_file, "{}", section_load_table);
|
||||
|
||||
fmt::print(overlay_file, "const size_t num_sections = {};\n", context.sections.size());
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user