diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2019-07-04 11:40:05 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2019-07-04 11:40:05 -0400 |
commit | 231b2aeb83f206396a884c862c669111b9faa078 (patch) | |
tree | ebddc515fb86f2b0bcc3b6a29f43c8ce76f61c5b /src | |
parent | 2f671f9bd2b1785d1e6be135ddd638daadac62c4 (diff) |
Foundation to support LG, Rev1 in the future
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index ae9a33e81..0d4e2ee1e 100644 --- a/src/main.c +++ b/src/main.c @@ -55,7 +55,12 @@ static void VCountIntr(void); static void SerialIntr(void); static void IntrDummy(void); -const u8 gGameVersion = VERSION_FIRE_RED; +#if defined(FIRERED) +#define GAME_VERSION VERSION_FIRE_RED +#elif defined(LEAF_GREEN) +#define GAME_VERSION VERSION_LEAF_GREEN +#endif +const u8 gGameVersion = GAME_VERSION; const u8 gGameLanguage = GAME_LANGUAGE; |