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

This commit is contained in:
Archez
2024-05-22 09:05:05 -05:00
committed by Garrett Cox
parent 72a5644350
commit 815552a2da
+1 -1
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);