Fix compilation for CI

This commit is contained in:
dcvz 2024-05-15 09:46:23 +02:00 committed by Mr-Wiseguy
parent 05e07e79e2
commit 8dd9af652c

View file

@ -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]));