add assert support to pokeemerald.

This commit is contained in:
ProjectRevoTPP
2018-01-06 21:12:42 -05:00
parent 601ec28721
commit 7be61cfb1a
7 changed files with 175 additions and 176 deletions

View File

@@ -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