mirror of
https://github.com/N64Recomp/N64Recomp.git
synced 2025-06-29 13:36:17 +00:00
Fix compilation for CI
This commit is contained in:
parent
05e07e79e2
commit
8dd9af652c
1 changed files with 2 additions and 2 deletions
|
@ -1221,7 +1221,7 @@ void dump_context(const RecompPort::Context& context, const std::filesystem::pat
|
|||
|
||||
for (size_t section_index = 0; section_index < context.sections.size(); section_index++) {
|
||||
const RecompPort::Section& section = context.sections[section_index];
|
||||
const std::vector<ELFIO::Elf_Xword>& section_funcs = context.section_functions[section_index];
|
||||
const std::vector<size_t>& section_funcs = context.section_functions[section_index];
|
||||
if (!section_funcs.empty()) {
|
||||
fmt::print(context_file,
|
||||
"# Autogenerated from an ELF via N64Recomp\n"
|
||||
|
@ -1251,7 +1251,7 @@ void dump_context(const RecompPort::Context& context, const std::filesystem::pat
|
|||
|
||||
fmt::print(context_file, "functions = [\n");
|
||||
|
||||
for (const ELFIO::Elf_Xword& function_index : section_funcs) {
|
||||
for (const size_t& function_index : section_funcs) {
|
||||
const RecompPort::Function& func = context.functions[function_index];
|
||||
fmt::print(context_file, " {{ name = \"{}\", vram = 0x{:08X}, size = 0x{:X} }},\n",
|
||||
func.name, func.vram, func.words.size() * sizeof(func.words[0]));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue