mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-08 00:44:42 +00:00
parent
64dd475a3a
commit
1e21f69b37
7 changed files with 64 additions and 64 deletions
|
@ -421,22 +421,14 @@ void Graph_Update(GraphicsContext* gfxCtx, GameState* gameState) {
|
|||
if (gIsCtrlr2Valid && CHECK_BTN_ALL(gameState->input[0].press.button, BTN_Z) &&
|
||||
CHECK_BTN_ALL(gameState->input[0].cur.button, BTN_L | BTN_R)) {
|
||||
gSaveContext.gameMode = GAMEMODE_NORMAL;
|
||||
{
|
||||
GameState* state = gameState;
|
||||
|
||||
SET_NEXT_GAMESTATE(state, MapSelect_Init, MapSelectState);
|
||||
}
|
||||
SET_NEXT_GAMESTATE(gameState, MapSelect_Init, MapSelectState);
|
||||
gameState->running = false;
|
||||
}
|
||||
|
||||
if (gIsCtrlr2Valid && PreNmiBuff_IsResetting(gAppNmiBufferPtr) && !gameState->inPreNMIState) {
|
||||
// "To reset mode"
|
||||
PRINTF(VT_COL(YELLOW, BLACK) "PRE-NMIによりリセットモードに移行します\n" VT_RST);
|
||||
{
|
||||
GameState* state = gameState;
|
||||
|
||||
SET_NEXT_GAMESTATE(state, PreNMI_Init, PreNMIState);
|
||||
}
|
||||
SET_NEXT_GAMESTATE(gameState, PreNMI_Init, PreNMIState);
|
||||
gameState->running = false;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue