diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2018-01-06 21:12:42 -0500 |
---|---|---|
committer | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2018-01-06 21:12:42 -0500 |
commit | 7be61cfb1a55feb9ab30cfda9e78ed33c74eb097 (patch) | |
tree | 813ee816afab86312307d67351dc4b13279557dd /include/config.h | |
parent | 601ec28721b250d74e7fd61300226ff07c8a710b (diff) |
add assert support to pokeemerald.
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 162af3143..ce8e4ae74 100644 --- a/include/config.h +++ b/include/config.h @@ -1,6 +1,16 @@ #ifndef GUARD_CONFIG_H #define GUARD_CONFIG_H +// In the Generation 3 games, Asserts were used in various debug builds. +// Ruby/Sapphire and Emerald do not have these asserts while Fire Red +// still has them in the ROM. This is because the developers forgot +// to define NOAGBPRN before release, which is actually supposed to be +// NDEBUG, however this has been changed as Ruby's actual debug build +// does not use the AGBPrint features. +#define NOAGBPRN +// NOTE: Don't try to enable assert right now as many pointers +// still exist in defines and WILL likely result in a broken ROM. + #define ENGLISH #ifdef ENGLISH |