summaryrefslogtreecommitdiff
path: root/soh/src/code/title_setup.c
diff options
context:
space:
mode:
authorM4xw <m4x@m4xw.net>2022-03-22 02:51:23 +0100
committerM4xw <m4x@m4xw.net>2022-03-22 02:51:23 +0100
commit39cc86c2608e2f75ace33fc7f43bc4f2ad743f1a (patch)
tree0d3fd9e995d7484eaaeb158ac808bd6a39121189 /soh/src/code/title_setup.c
parent0bb0e7b53bd80bdc7f78e08c441691737e039b2b (diff)
git subrepo clone https://github.com/HarbourMasters/soh.git
subrepo: subdir: "soh" merged: "ba904bbd0" upstream: origin: "https://github.com/HarbourMasters/soh.git" branch: "master" commit: "ba904bbd0" git-subrepo: version: "0.4.1" origin: "???" commit: "???"
Diffstat (limited to 'soh/src/code/title_setup.c')
-rw-r--r--soh/src/code/title_setup.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/soh/src/code/title_setup.c b/soh/src/code/title_setup.c
new file mode 100644
index 000000000..1e709dc12
--- /dev/null
+++ b/soh/src/code/title_setup.c
@@ -0,0 +1,16 @@
+#include "global.h"
+
+void TitleSetup_InitImpl(GameState* gameState) {
+ osSyncPrintf("ゼルダ共通データ初期化\n"); // "Zelda common data initalization"
+ SaveContext_Init();
+ gameState->running = false;
+ SET_NEXT_GAMESTATE(gameState, Title_Init, TitleContext);
+}
+
+void TitleSetup_Destroy(GameState* gameState) {
+}
+
+void TitleSetup_Init(GameState* gameState) {
+ gameState->destroy = TitleSetup_Destroy;
+ TitleSetup_InitImpl(gameState);
+}