summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2019-12-20 10:05:25 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2019-12-20 10:05:25 -0500
commitba5861e45266fb0b32a5e5da10acd534838ccafd (patch)
treeab99fa10a98f71140febdb4d878811a834198d53 /include/config.h
parent3770909be050ae93c5f83ac8b1e9deb2ef3f4ca6 (diff)
leafgreen match .text
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h10
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