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

19 lines
480 B
C
Raw Normal View History

#include "global.h"
2020-03-17 04:31:30 +00:00
void Setup_InitImpl(SetupState* this) {
osSyncPrintf("ゼルダ共通データ初期化\n"); // "Zelda common data initalization"
2020-03-17 04:31:30 +00:00
SaveContext_Init();
this->state.running = false;
SET_NEXT_GAMESTATE(&this->state, ConsoleLogo_Init, ConsoleLogoState);
2020-03-17 04:31:30 +00:00
}
void Setup_Destroy(GameState* thisx) {
2020-03-17 04:31:30 +00:00
}
void Setup_Init(GameState* thisx) {
SetupState* this = (SetupState*)thisx;
this->state.destroy = Setup_Destroy;
Setup_InitImpl(this);
2020-03-22 21:19:43 +00:00
}