aboutsummaryrefslogtreecommitdiff
path: root/libretro.c
diff options
context:
space:
mode:
authorGregor Richards2016-12-09 17:34:44 -0500
committerGregor Richards2016-12-09 17:34:44 -0500
commitccfbb241f4d1a2dbefe684e747c1920da498cbfe (patch)
tree4eda9f76f094d1253f9782c9dd6cd8a22b01228d /libretro.c
parentfe3ecfc7e1207ec895bfc939447a9916b42af561 (diff)
downloadsnes9x2005-ccfbb241f4d1a2dbefe684e747c1920da498cbfe.tar.gz
snes9x2005-ccfbb241f4d1a2dbefe684e747c1920da498cbfe.tar.bz2
snes9x2005-ccfbb241f4d1a2dbefe684e747c1920da498cbfe.zip
Use git version as library_version
Diffstat (limited to 'libretro.c')
-rw-r--r--libretro.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libretro.c b/libretro.c
index 7f26a19..65163f5 100644
--- a/libretro.c
+++ b/libretro.c
@@ -696,7 +696,10 @@ void retro_get_system_info(struct retro_system_info* info)
info->need_fullpath = true;
#endif
info->valid_extensions = "smc|fig|sfc|gd3|gd7|dx2|bsx|swc";
- info->library_version = "v1.36";
+#ifndef GIT_VERSION
+#define GIT_VERSION ""
+#endif
+ info->library_version = "v1.36" GIT_VERSION;
#ifdef USE_BLARGG_APU
info->library_name = "Snes9x 2005 Plus";
#else