summaryrefslogtreecommitdiff
path: root/src/engine
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2017-12-20 15:33:08 -0500
committerProjectRevoTPP <projectrevotpp@hotmail.com>2017-12-20 15:33:08 -0500
commit272cd213391b5ce87cb2aeac263b3eedb0f19a07 (patch)
treeceffa6e21c4e0b3cf74ca48ae7e4343d9341b809 /src/engine
parent3c5f725de49371aced1788a21f5e53df5b498b5f (diff)
Add NDEBUG (NOAGBPRN) support to pokeruby.
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/engine/main.c b/src/engine/main.c
index 82a5fffb4..11c540d07 100644
--- a/src/engine/main.c
+++ b/src/engine/main.c
@@ -98,6 +98,13 @@ void AgbMain()
gSoftResetDisabled = FALSE;
+// 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
+ AGBPrintInit();
+#endif
+
if (gFlashMemoryPresent != TRUE)
SetMainCallback2(NULL);