From 9816f62129b26b5d1068e2fa2ea887ad3fdcfd88 Mon Sep 17 00:00:00 2001 From: cadmic Date: Tue, 30 Jan 2024 10:54:38 -0800 Subject: Define OOT_DEBUG=0 in retail builds (#1658) * Define OOT_DEBUG=0 in retail builds * Fix ifndef * Replace VI_MODE_EDITOR_INACTIVE * Revert "Replace VI_MODE_EDITOR_INACTIVE" This reverts commit f7c4cae7c3b3d9fdc56e97183690c05f2dcec215. * Replace VI_MODE_EDITOR_INACTIVE, take 2 * Revert EnBom_Draw --- src/code/z_parameter.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/code/z_parameter.c') diff --git a/src/code/z_parameter.c b/src/code/z_parameter.c index efbe25a91..464405c56 100644 --- a/src/code/z_parameter.c +++ b/src/code/z_parameter.c @@ -3932,7 +3932,7 @@ void Interface_Draw(PlayState* play) { } } -#ifdef OOT_DEBUG +#if OOT_DEBUG if (pauseCtx->debugState == 3) { FlagSet_Update(play); } @@ -3958,8 +3958,7 @@ void Interface_Update(PlayState* play) { s16 risingAlpha; u16 action; -#ifdef OOT_DEBUG - { + if (OOT_DEBUG) { Input* debugInput = &play->state.input[2]; if (CHECK_BTN_ALL(debugInput->press.button, BTN_DLEFT)) { @@ -3973,7 +3972,6 @@ void Interface_Update(PlayState* play) { PRINTF("J_N=%x J_N=%x\n", gSaveContext.language, &gSaveContext.language); } } -#endif if (!IS_PAUSED(&play->pauseCtx)) { if ((gSaveContext.minigameState == 1) || !IS_CUTSCENE_LAYER || -- cgit v1.2.3