diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2019-12-20 15:43:10 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-20 15:43:10 -0500 |
commit | 510a5b8d350fd093ca45baad878c4c67314d5812 (patch) | |
tree | e79e07eacfe55a28c17d2c522e03fc2db209e580 /include/config.h | |
parent | 9f604fe56c83a904c3c2eeeede3d8b73cb6f94a1 (diff) | |
parent | d6741335d61fe61cfbfff5f7ae88059502d1f63b (diff) |
Merge pull request #193 from PikalaxALT/leafgreen
Match Pokemon LeafGreen 1.0
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 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 |