diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2018-01-06 21:52:05 -0500 |
---|---|---|
committer | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2018-01-06 21:52:05 -0500 |
commit | d4df8046d45e50e19d2305bd4388e47087949960 (patch) | |
tree | 633424eaab583e04b6b271eec299f2a821bdb2aa /src | |
parent | 86f0291f63ff6bc580476dae3c00fc4d6d7b15da (diff) |
use firered isagbprint.h and NDEBUG
Diffstat (limited to 'src')
-rw-r--r-- | src/engine/main.c | 4 | ||||
-rwxr-xr-x | src/libs/libisagbprn.c | 2 |
2 files changed, 3 insertions, 3 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 diff --git a/src/libs/libisagbprn.c b/src/libs/libisagbprn.c index 867044217..eccc31f48 100755 --- a/src/libs/libisagbprn.c +++ b/src/libs/libisagbprn.c @@ -25,7 +25,7 @@ struct AGBPrintStruct typedef void (*LPFN_PRINT_FLUSH)(void); -#ifndef NOAGBPRN +#ifndef NDEBUG void AGBPrintFlush1Block(void); void AGBPrintInit(void) |