summaryrefslogtreecommitdiff
path: root/soh/src/code/graph.c
diff options
context:
space:
mode:
authorMalkierian <malkierian@gmail.com>2024-04-21 08:25:06 -0700
committerGitHub <noreply@github.com>2024-04-21 10:25:06 -0500
commit33aef87907cb68479f754e63e37b532f18170583 (patch)
tree9a11f06798e6bcb765da3aefd13d3a1548fcd16c /soh/src/code/graph.c
parente2622af004b17df58ab8a8d1472ab78ae649f341 (diff)
CVar Macro Cleanup (#4062)
* Standardized CVar macros to have `CVAR_` at the front instead of the end. Removed excluded and replaced sequence macros. * Missed a few developer CVars outside of `SohMenuBar.cpp` * 1 more.
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 d273e7643..d72a30277 100644
--- a/soh/src/code/graph.c
+++ b/soh/src/code/graph.c
@@ -424,7 +424,7 @@ void Graph_Update(GraphicsContext* gfxCtx, GameState* gameState) {
sGraphUpdateTime = time;
}
- if (CVarGetInteger("gDebugEnabled", 0))
+ if (CVarGetInteger(CVAR_DEVELOPER_TOOLS("DebugEnabled"), 0))
{
if (CHECK_BTN_ALL(gameState->input[0].press.button, BTN_Z) &&
CHECK_BTN_ALL(gameState->input[0].cur.button, BTN_L | BTN_R)) {