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:
parent
1ea869d808
commit
91ca095d29
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user