summaryrefslogtreecommitdiff
path: root/src/code/z_debug.c
diff options
context:
space:
mode:
authorfig02 <fig02srl@gmail.com>2024-02-02 12:44:31 -0500
committerGitHub <noreply@github.com>2024-02-02 12:44:31 -0500
commit23de92d2f940d5812cb17ef2c976050152e9c8e9 (patch)
tree1e9a86177f6b474cfb39a0f4eb128450bf330e0b /src/code/z_debug.c
parent4e2d2885bc21618f6dd0301c7389164c1bbc1fc1 (diff)
Match z_debug for retail (#1694)
* match z_debug for retail * prototype * directive
Diffstat (limited to 'src/code/z_debug.c')
-rw-r--r--src/code/z_debug.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/code/z_debug.c b/src/code/z_debug.c
index 011a87d39..8fd35af19 100644
--- a/src/code/z_debug.c
+++ b/src/code/z_debug.c
@@ -153,6 +153,7 @@ void DebugCamera_DrawScreenText(GfxPrint* printer) {
}
}
+#if OOT_DEBUG
/**
* Updates the state of the Reg Editor according to user input.
* Also contains a controller rumble test that can be interfaced with via related REGs.
@@ -269,6 +270,7 @@ void Regs_DrawEditor(GfxPrint* printer) {
}
}
}
+#endif
/**
* Draws the Reg Editor and Debug Camera text on screen
@@ -291,9 +293,11 @@ void Debug_DrawText(GraphicsContext* gfxCtx) {
DebugCamera_DrawScreenText(&printer);
}
+#if OOT_DEBUG
if (gRegEditor->regPage != 0) {
Regs_DrawEditor(&printer);
}
+#endif
sDebugCamTextEntryCount = 0;