Initialize staticSegment in Title_Init to NULL (#899)

This commit is contained in:
GaryOderNichts 2022-07-24 15:36:36 +02:00 committed by GitHub
parent d4bd953c0b
commit bd787719b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -333,6 +333,7 @@ void Title_Init(GameState* thisx) {
} else { } else {
quote = SetQuote(); quote = SetQuote();
this->staticSegment = NULL;
//this->staticSegment = GAMESTATE_ALLOC_MC(&this->state, size); //this->staticSegment = GAMESTATE_ALLOC_MC(&this->state, size);
osSyncPrintf("z_title.c\n"); osSyncPrintf("z_title.c\n");
//ASSERT(this->staticSegment != NULL); //ASSERT(this->staticSegment != NULL);