summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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