From 9981b922dcb210dd309951e3dd594a0b17c18438 Mon Sep 17 00:00:00 2001 From: Wiseguy <68165316+Mr-Wiseguy@users.noreply.github.com> Date: Sun, 28 Jul 2024 21:43:14 -0400 Subject: [PATCH] Fix .recomp_patch section functions not getting loaded (#449) --- lib/N64ModernRuntime | 2 +- src/main/register_patches.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/N64ModernRuntime b/lib/N64ModernRuntime index ce68e96..47feaaa 160000 --- a/lib/N64ModernRuntime +++ b/lib/N64ModernRuntime @@ -1 +1 @@ -Subproject commit ce68e96c171f7f036e29f539e22a604da04af824 +Subproject commit 47feaaaa0da5b5f80e90b9daca144a4141b641b8 diff --git a/src/main/register_patches.cpp b/src/main/register_patches.cpp index 71b9972..12c5725 100644 --- a/src/main/register_patches.cpp +++ b/src/main/register_patches.cpp @@ -6,5 +6,5 @@ #include "librecomp/game.hpp" void zelda64::register_patches() { - recomp::overlays::register_patches(mm_patches_bin, sizeof(mm_patches_bin), section_table); + recomp::overlays::register_patches(mm_patches_bin, sizeof(mm_patches_bin), section_table, ARRLEN(section_table)); }