diff options
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/include/config.h b/include/config.h index 491eadf13..70d76ca53 100644 --- a/include/config.h +++ b/include/config.h @@ -11,9 +11,25 @@ // #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. +// to the inclusion of asserts in the retail ROM. + +// Define the game version for use elsewhere +#if defined(FIRERED) +#define GAME_VERSION VERSION_FIRE_RED +#elif defined(LEAFGREEN) +#define GAME_VERSION VERSION_LEAF_GREEN +#else +#error unknown version +#endif + +// rev1 renamed the source folder for reasons +#if REVISION == 0 +#define CODE_ROOT "C:/WORK/POKeFRLG/src/pm_lgfr_ose/source/" +#else +#define CODE_ROOT "C:/WORK/POKeFRLG/Src/pm_lgfr_ose/source/" +#endif + +#define ABSPATH(x) (CODE_ROOT x) #ifdef ENGLISH #define UNITS_IMPERIAL |