add NDEBUG define

This commit is contained in:
ProjectRevoTPP
2018-01-06 21:29:51 -05:00
parent 38f3f5cc55
commit 5d7a038cea
4 changed files with 21 additions and 1 deletions
+6
View File
@@ -1,5 +1,7 @@
#include <stdarg.h>
#include <stdio.h>
#include "global.h"
#include "config.h"
#include "gba/gba.h"
#define AGB_PRINT_FLUSH_ADDR 0x9FE209D
@@ -17,6 +19,8 @@ struct AGBPrintStruct
typedef void (*LPFN_PRINT_FLUSH)(void);
#ifndef NDEBUG
void AGBPrintFlush1Block(void);
void AGBPrintInit(void)
@@ -146,3 +150,5 @@ void AGBAssert(const char *pFile, int nLine, const char *pExpression, int nStopP
AGBPrintf("WARING FILE=[%s] LINE=[%d] EXP=[%s] \n", pFile, nLine, pExpression);
}
}
#endif