From ca9425d7c26c1fac5b776b914924c11afed57683 Mon Sep 17 00:00:00 2001 From: dcvz Date: Fri, 24 May 2024 21:41:41 +0200 Subject: [PATCH] Address review feedback --- librecomp/include/recomp_overlays.h | 2 +- librecomp/src/patch_loading.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/librecomp/include/recomp_overlays.h b/librecomp/include/recomp_overlays.h index f0957d6..1589e30 100644 --- a/librecomp/include/recomp_overlays.h +++ b/librecomp/include/recomp_overlays.h @@ -17,7 +17,7 @@ namespace recomp { }; extern void register_overlays(const overlay_section_table_data_t& sections, const overlays_by_index_t& overlays); - extern void register_patch_overlays(SectionTableEntry* code_sections); + extern void register_patch_section(SectionTableEntry* code_sections); }; extern "C" void load_overlays(uint32_t rom, int32_t ram_addr, uint32_t size); diff --git a/librecomp/src/patch_loading.cpp b/librecomp/src/patch_loading.cpp index c948d20..0e8effd 100644 --- a/librecomp/src/patch_loading.cpp +++ b/librecomp/src/patch_loading.cpp @@ -9,7 +9,7 @@ static SectionTableEntry* code_sections = nullptr; void load_special_overlay(const SectionTableEntry& section, int32_t ram); -void register_patch_overlays(SectionTableEntry* sections) { +void register_patch_section(SectionTableEntry* sections) { code_sections = sections; }