mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-19 13:00:11 -07:00
GameState_, GameAlloc_, SystemArena_ & ZeldaArena_
This commit is contained in:
parent
4606929b31
commit
0d85caaf7e
38 changed files with 132 additions and 133 deletions
|
@ -454,7 +454,7 @@ static void RunFrame()
|
|||
size = runFrameContext.ovl->instanceSize;
|
||||
osSyncPrintf("クラスサイズ=%dバイト\n", size); // "Class size = %d bytes"
|
||||
|
||||
runFrameContext.gameState = SystemArena_MallocDebug(size, __FILE__, __LINE__);
|
||||
runFrameContext.gameState = SystemArena_MallocDebug(size);
|
||||
|
||||
if (!runFrameContext.gameState)
|
||||
{
|
||||
|
@ -495,7 +495,7 @@ static void RunFrame()
|
|||
|
||||
runFrameContext.nextOvl = Graph_GetNextGameState(runFrameContext.gameState);
|
||||
GameState_Destroy(runFrameContext.gameState);
|
||||
SystemArena_FreeDebug(runFrameContext.gameState, __FILE__, __LINE__);
|
||||
SystemArena_FreeDebug(runFrameContext.gameState);
|
||||
Overlay_FreeGameState(runFrameContext.ovl);
|
||||
}
|
||||
Graph_Destroy(&runFrameContext.gfxCtx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue