1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-14 13:30:47 +00:00
oot/src/code/title_setup.c

18 lines
465 B
C
Raw Normal View History

#include "global.h"
2020-03-17 04:31:30 +00:00
2020-03-22 21:19:43 +00:00
void TitleSetup_InitImpl(GameState* gameState) {
// Zelda common data initalization
2020-03-17 04:31:30 +00:00
osSyncPrintf("ゼルダ共通データ初期化\n");
SaveContext_Init();
gameState->running = false;
SET_NEXT_GAMESTATE(gameState, Title_Init, TitleContext);
2020-03-17 04:31:30 +00:00
}
2020-03-22 21:19:43 +00:00
void TitleSetup_Destroy(GameState* gameState) {
2020-03-17 04:31:30 +00:00
}
2020-03-22 21:19:43 +00:00
void TitleSetup_Init(GameState* gameState) {
2020-03-17 04:31:30 +00:00
gameState->destroy = TitleSetup_Destroy;
TitleSetup_InitImpl(gameState);
2020-03-22 21:19:43 +00:00
}