From 274a1081679f9b8594897178669d61751bb736dc Mon Sep 17 00:00:00 2001 From: briaguya <70942617+briaguya-ai@users.noreply.github.com> Date: Sat, 5 Nov 2022 15:33:04 -0400 Subject: [PATCH] fix: add `ShouldAdvanceSilent` to `functions.h` (#1920) The implicit declaration was causing issues on Linux when building in release mode. The call was getting optimized out which was preventing the "equip now?" message box from functioning as intended. Adding the `Message_ShouldAdvanceSilent` declaration to `functions.h`resolves the issue. --- soh/include/functions.h | 1 + 1 file changed, 1 insertion(+) diff --git a/soh/include/functions.h b/soh/include/functions.h index d5823f6f5..cc267a617 100644 --- a/soh/include/functions.h +++ b/soh/include/functions.h @@ -2397,6 +2397,7 @@ f32 absf(f32); void* func_801068B0(void* dst, void* src, size_t size); void Message_UpdateOcarinaGame(GlobalContext* globalCtx); u8 Message_ShouldAdvance(GlobalContext* globalCtx); +u8 Message_ShouldAdvanceSilent(GlobalContext* globalCtx); void Message_CloseTextbox(GlobalContext*); void Message_StartTextbox(GlobalContext* globalCtx, u16 textId, Actor* actor); void Message_ContinueTextbox(GlobalContext* globalCtx, u16 textId);