1
0
mirror of https://github.com/blawar/ooot.git synced 2024-07-04 18:13:37 +00:00

reduced wasted memory

This commit is contained in:
Blake Warner 2022-03-02 20:55:59 -05:00
parent 1ea869d808
commit 91ca095d29
2 changed files with 2 additions and 2 deletions

View File

@ -458,7 +458,7 @@ void GameState_Init(GameState* gameState, GameStateFunc init, GraphicsContext* g
KaleidoScope_SetupGrayIcons();
startTime = endTime;
GameState_InitArena(gameState, 0x100000 * 0x30); // TODO FIX HACK
GameState_InitArena(gameState, 0x100000 * sizeof(uintptr_t) / 4); // TODO FIX HACK
framerate_set_profile(PROFILE_GAMEPLAY);
init(gameState);

View File

@ -281,7 +281,7 @@ void Gameplay_Init(GameState* thisx) {
}
SystemArena_Display();
GameState_Realloc(&globalCtx->state, 0x1D4790 * 0x20); // TODO FIX HACK
GameState_Realloc(&globalCtx->state, 0x1D4790 * sizeof(uintptr_t) / 4); // TODO FIX HACK
KaleidoManager_Init(globalCtx);
View_Init(&globalCtx->view, gfxCtx);
Audio_SetExtraFilter(0);