From ba5861e45266fb0b32a5e5da10acd534838ccafd Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Fri, 20 Dec 2019 10:05:25 -0500 Subject: leafgreen match .text --- include/config.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include') diff --git a/include/config.h b/include/config.h index 67dc38a2b..70d76ca53 100644 --- a/include/config.h +++ b/include/config.h @@ -13,6 +13,16 @@ // Fire Red likely forgot to define NDEBUG/NOAGBPRN before release, leading // 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 -- cgit v1.2.3