From bd787719b84328deb2d37944a26289e3fb4af4aa Mon Sep 17 00:00:00 2001 From: GaryOderNichts <12049776+GaryOderNichts@users.noreply.github.com> Date: Sun, 24 Jul 2022 15:36:36 +0200 Subject: [PATCH] Initialize staticSegment in Title_Init to NULL (#899) --- soh/src/overlays/gamestates/ovl_title/z_title.c | 1 + 1 file changed, 1 insertion(+) diff --git a/soh/src/overlays/gamestates/ovl_title/z_title.c b/soh/src/overlays/gamestates/ovl_title/z_title.c index 50c7c8a36..699dff626 100644 --- a/soh/src/overlays/gamestates/ovl_title/z_title.c +++ b/soh/src/overlays/gamestates/ovl_title/z_title.c @@ -333,6 +333,7 @@ void Title_Init(GameState* thisx) { } else { quote = SetQuote(); + this->staticSegment = NULL; //this->staticSegment = GAMESTATE_ALLOC_MC(&this->state, size); osSyncPrintf("z_title.c\n"); //ASSERT(this->staticSegment != NULL);