summaryrefslogtreecommitdiff
path: root/src/code/flg_set.c
diff options
context:
space:
mode:
authorfig02 <fig02srl@gmail.com>2022-05-21 14:23:43 -0400
committerGitHub <noreply@github.com>2022-05-21 14:23:43 -0400
commit2e6279bc8e528833704bc6b77635f0eeae6bbe44 (patch)
treed407e4462e1a07b22d11fd84c8013ab182153aaa /src/code/flg_set.c
parent154f44b6da6e0b9be69886ec8d8a5a8ea2f4791e (diff)
PlayState Rename (#1231)
* global context -> play * fix PlayState* PlayState
Diffstat (limited to 'src/code/flg_set.c')
-rw-r--r--src/code/flg_set.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/code/flg_set.c b/src/code/flg_set.c
index 55850d5b0..8d7814cfa 100644
--- a/src/code/flg_set.c
+++ b/src/code/flg_set.c
@@ -1,6 +1,6 @@
#include "global.h"
-void FlagSet_Update(GlobalContext* globalCtx) {
+void FlagSet_Update(PlayState* play) {
static s32 entryIdx = 0;
static u32 curBit = 0;
static s32 timer = 0;
@@ -35,8 +35,8 @@ void FlagSet_Update(GlobalContext* globalCtx) {
{ &gSaveContext.eventInf[2], "event_inf[2]" }, { &gSaveContext.eventInf[3], "event_inf[3]" },
};
- GraphicsContext* gfxCtx = globalCtx->state.gfxCtx;
- Input* input = &globalCtx->state.input[0];
+ GraphicsContext* gfxCtx = play->state.gfxCtx;
+ Input* input = &play->state.input[0];
Gfx* gfx;
Gfx* polyOpa;
@@ -145,7 +145,7 @@ void FlagSet_Update(GlobalContext* globalCtx) {
}
if (CHECK_BTN_ALL(input->press.button, BTN_L)) {
- globalCtx->pauseCtx.debugState = 0;
+ play->pauseCtx.debugState = 0;
}
CLOSE_DISPS(gfxCtx, "../flg_set.c", 241);