diff options
| author | cadmic <cadmic24@gmail.com> | 2024-01-30 10:54:38 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-30 13:54:38 -0500 |
| commit | 9816f62129b26b5d1068e2fa2ea887ad3fdcfd88 (patch) | |
| tree | cd6390c2cf4f3c08cec43aa1ce4022a0aecd3296 /src/code/z_parameter.c | |
| parent | 6d09437c2162a156a843f3f10b1f864437eee6ed (diff) | |
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
Diffstat (limited to 'src/code/z_parameter.c')
| -rw-r--r-- | src/code/z_parameter.c | 6 |
1 files changed, 2 insertions, 4 deletions
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 || |
