#include "global.h" void Setup_InitImpl(SetupState* this) { PRINTF(T("ゼルダ共通データ初期化\n", "Zelda common data initalization\n")); SaveContext_Init(); this->state.running = false; SET_NEXT_GAMESTATE(&this->state, ConsoleLogo_Init, ConsoleLogoState); } void Setup_Destroy(GameState* thisx) { } void Setup_Init(GameState* thisx) { SetupState* this = (SetupState*)thisx; this->state.destroy = Setup_Destroy; Setup_InitImpl(this); }