Fix gamestate not being freed causing an overflow in the zelda arena (#421)

This commit is contained in:
Archez 2024-05-18 15:58:27 -04:00 committed by Garrett Cox
parent 72a5644350
commit 815552a2da

View File

@ -426,7 +426,7 @@ void RunFrame() {
runFrameContext.nextOvl = Graph_GetNextGameState(runFrameContext.gameState);
GameState_Destroy(runFrameContext.gameState);
// System (runFrameContext.gameState);
SystemArena_Free(runFrameContext.gameState);
Overlay_FreeGameState(runFrameContext.ovl);
}
Graph_Destroy(&runFrameContext.gfxCtx);