summaryrefslogtreecommitdiff
path: root/soh/src/code/z_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'soh/src/code/z_debug.c')
-rw-r--r--soh/src/code/z_debug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/soh/src/code/z_debug.c b/soh/src/code/z_debug.c
index 267846eb4..1a814d745 100644
--- a/soh/src/code/z_debug.c
+++ b/soh/src/code/z_debug.c
@@ -133,7 +133,7 @@ void func_8006390C(Input* input) {
InputCombo* input_combo;
s32 i;
- if (!CVarGetInteger("gDebugEnabled", 0))
+ if (!CVarGetInteger(CVAR_DEVELOPER_TOOLS("DebugEnabled"), 0))
return;
regGroup = (gGameInfo->regGroup * REG_PAGES + gGameInfo->regPage) * REG_PER_PAGE - REG_PER_PAGE;
@@ -216,7 +216,7 @@ void func_80063C04(GfxPrint* printer) {
s32 pad;
char name[3];
- if (!CVarGetInteger("gDebugEnabled", 0))
+ if (!CVarGetInteger(CVAR_DEVELOPER_TOOLS("DebugEnabled"), 0))
return;
// set up register name string
@@ -243,7 +243,7 @@ void func_80063D7C(GraphicsContext* gfxCtx) {
GfxPrint printer;
Gfx* tempRet;
- if (!CVarGetInteger("gDebugEnabled", 0) || GameInteractor_NoUIActive()) {
+ if (!CVarGetInteger(CVAR_DEVELOPER_TOOLS("DebugEnabled"), 0) || GameInteractor_NoUIActive()) {
return;
}