summaryrefslogtreecommitdiff
path: root/src/engine/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/main.c')
-rw-r--r--src/engine/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/main.c b/src/engine/main.c
index e52551f72..92b81d475 100644
--- a/src/engine/main.c
+++ b/src/engine/main.c
@@ -83,7 +83,7 @@ static void WaitForVBlank(void);
#define B_START_SELECT (B_BUTTON | START_BUTTON | SELECT_BUTTON)
-#ifndef NOAGBPRN
+#ifndef NDEBUG
#include <stdlib.h> // don't include if not needed.
#endif
@@ -105,7 +105,7 @@ void AgbMain()
// In Fire Red, AGBPrintInit is called at this spot. For user convenience, I
// opt to initialize the print area here. It is up to the user where they choose
// to print stuff from, as anything else declared is NOT authoritative.
-#ifndef NOAGBPRN
+#ifndef NDEBUG
AGBPrintInit();
__mb_cur_max = 1; // fix for AGBPrintf
#endif