From 23de92d2f940d5812cb17ef2c976050152e9c8e9 Mon Sep 17 00:00:00 2001 From: fig02 Date: Fri, 2 Feb 2024 12:44:31 -0500 Subject: Match z_debug for retail (#1694) * match z_debug for retail * prototype * directive --- src/code/z_debug.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/code') 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; -- cgit v1.2.3