summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-08-18 22:03:18 -0700
committerYamaArashi <shadow962@live.com>2016-08-18 22:03:18 -0700
commit28f41f995d6e24ae5bd0d03d7220784d30c61b35 (patch)
treee6892d396d86752d8c0f588a1c770210f5c11108 /src/main.c
parentcca99e361f1af0fbdd997a3daba9a9bbdddd12a9 (diff)
make game version equal 1 for sapphire
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 751a2c7f8..937978c38 100644
--- a/src/main.c
+++ b/src/main.c
@@ -18,7 +18,13 @@ void SerialIntr(void);
void IntrDummy(void);
void Timer3Intr(void);
-const u8 gGameVersion = 2; // Ruby
+#ifdef SAPPHIRE
+#define GAME_VERSION VERSION_SAPPHIRE
+#else
+#define GAME_VERSION VERSION_RUBY
+#endif
+
+const u8 gGameVersion = GAME_VERSION;
const u8 gGameLanguage = 2; // English