summaryrefslogtreecommitdiff
path: root/soh/src/code/graph.c
diff options
context:
space:
mode:
authorArchez <Archez@users.noreply.github.com>2025-02-25 03:13:17 -0500
committerGitHub <noreply@github.com>2025-02-25 09:13:17 +0100
commitf023a46a5d5ef8e969427dbd694366f06fb078b7 (patch)
tree9616c4931ba0cab38cb6012a2e5efc7c1bb8fe53 /soh/src/code/graph.c
parent51310db68fc66725f5720e6d7aa7dcda0b17b8fc (diff)
Use gamemode enum (#5089)
* Use gamemode enum * update console command for file_select
Diffstat (limited to 'soh/src/code/graph.c')
-rw-r--r--soh/src/code/graph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/soh/src/code/graph.c b/soh/src/code/graph.c
index 51f8fcd17..be5ee994d 100644
--- a/soh/src/code/graph.c
+++ b/soh/src/code/graph.c
@@ -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;
}