diff options
| author | Jack Walker <7463599+Jack-Walker@users.noreply.github.com> | 2020-03-17 00:31:30 -0400 |
|---|---|---|
| committer | Jack Walker <7463599+Jack-Walker@users.noreply.github.com> | 2020-03-17 00:31:30 -0400 |
| commit | 087f561f7786a812c815b9198f24e6acd0477497 (patch) | |
| tree | 8e8b1efeb798ff0b341d39de024d7b8554013c4a /src/code/title_setup.c | |
| parent | be78236d36a5eb4ef80acef6188751f6b5d176ae (diff) | |
First proper commit.
Diffstat (limited to 'src/code/title_setup.c')
| -rw-r--r-- | src/code/title_setup.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/code/title_setup.c b/src/code/title_setup.c new file mode 100644 index 000000000..22ee8b181 --- /dev/null +++ b/src/code/title_setup.c @@ -0,0 +1,21 @@ +#include <global.h> + +void TitleSetup_InitImpl(GameState* gameState) +{ + //Zelda common data initalization + osSyncPrintf("ゼルダ共通データ初期化\n"); + SaveContext_Init(); + gameState->running = false; + gameState->init = func_80800878; gameState->size = sizeof(TitleContext); +} + +void TitleSetup_Destroy(GameState* gameState) +{ + +} + +void TitleSetup_Init(GameState* gameState) +{ + gameState->destroy = TitleSetup_Destroy; + TitleSetup_InitImpl(gameState); +}
\ No newline at end of file |
