summaryrefslogtreecommitdiff
path: root/src/code/flg_set.c
diff options
context:
space:
mode:
authorDerek Hensley <hensley.derek58@gmail.com>2022-06-19 16:57:23 -0700
committerGitHub <noreply@github.com>2022-06-20 00:57:23 +0100
commit9682995b04f93732c1ae143f66d2933b29dfd5b5 (patch)
tree12aadb7978a6e7dc1c0527b94194d2965fa30dbd /src/code/flg_set.c
parentd318b1f2854e98e2510812dd09e7c84b14f17622 (diff)
Controller Macros Update (#852)
* macros * Format, I will remember 1 day
Diffstat (limited to 'src/code/flg_set.c')
-rw-r--r--src/code/flg_set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/flg_set.c b/src/code/flg_set.c
index 53be7b68d..715d3756f 100644
--- a/src/code/flg_set.c
+++ b/src/code/flg_set.c
@@ -135,7 +135,7 @@ static s32 sTimer = 0;
void FlagSet_Update(GameState* gameState) {
GlobalContext* globalCtx = (GlobalContext*)gameState;
- Input* input = CONTROLLER1(globalCtx);
+ Input* input = CONTROLLER1(&globalCtx->state);
/* Intra-byte navigation */