Use gamemode enum (#5089)

* Use gamemode enum

* update console command for file_select
This commit is contained in:
Archez
2025-02-25 03:13:17 -05:00
committed by GitHub
parent 51310db68f
commit f023a46a5d
18 changed files with 34 additions and 36 deletions
+1 -1
View File
@@ -412,7 +412,7 @@ void Graph_Update(GraphicsContext* gfxCtx, GameState* gameState) {
{
if (CHECK_BTN_ALL(gameState->input[0].press.button, BTN_Z) &&
CHECK_BTN_ALL(gameState->input[0].cur.button, BTN_L | BTN_R)) {
gSaveContext.gameMode = 0;
gSaveContext.gameMode = GAMEMODE_NORMAL;
SET_NEXT_GAMESTATE(gameState, Select_Init, SelectContext);
gameState->running = false;
}