1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-12-04 16:55:56 +00:00
oot/src/code/title_setup.c

17 lines
463 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) {
osSyncPrintf("ゼルダ共通データ初期化\n"); // "Zelda common data initalization"
2020-03-17 04:31:30 +00:00
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
}