diff options
author | Marcus Huderle <huderlem@gmail.com> | 2018-01-11 18:11:01 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-11 18:11:01 -0800 |
commit | 72af1f78801e9a05d34a9416dd460b4e888d18a1 (patch) | |
tree | b580a5df2085135c0982846ddc6a334888749d07 /include/config.h | |
parent | 83b3cafa321b312f347c044f2c41e1c9803a4106 (diff) | |
parent | bdf242c2876ce95673de446cbaea9498dc77d8ed (diff) |
Merge pull request #1 from ProjectRevoTPP/assert
add NDEBUG define
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 162af3143..756fd1ebd 100644 --- a/include/config.h +++ b/include/config.h @@ -1,6 +1,18 @@ #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 NDEBUG before release, however this has been changed as +// Ruby's actual debug build does not use the AGBPrint features. +// #define NDEBUG + +// Fire Red likely forgot to define NDEBUG/NOAGBPRN before release, leading +// to the inclusion of asserts in the retail ROM. Don't try to re-enable this yet +// since not all baseroms and pointers have been dumped yet and will result in +// a broken ROM. + #define ENGLISH #ifdef ENGLISH |