aboutsummaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authorTwinaphex2016-12-10 01:59:24 +0100
committerGitHub2016-12-10 01:59:24 +0100
commit30373a821c80e223d5c592ccce95377ff57b4998 (patch)
tree1c711b85837e96914b692778376f7cf2dc51927f /frontend
parent6a0ea0daa46d27def21f39fcae216a7e8f2abdf3 (diff)
parent8fc5171a4c53b6f0e7ef7247d36ee5e05eaf0a07 (diff)
downloadpcsx_rearmed-30373a821c80e223d5c592ccce95377ff57b4998.tar.gz
pcsx_rearmed-30373a821c80e223d5c592ccce95377ff57b4998.tar.bz2
pcsx_rearmed-30373a821c80e223d5c592ccce95377ff57b4998.zip
Merge pull request #83 from GregorR/libretro-git-version
Report git version with library_version
Diffstat (limited to 'frontend')
-rw-r--r--frontend/libretro.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/frontend/libretro.c b/frontend/libretro.c
index 44cb974..589f07c 100644
--- a/frontend/libretro.c
+++ b/frontend/libretro.c
@@ -638,7 +638,10 @@ void retro_get_system_info(struct retro_system_info *info)
{
memset(info, 0, sizeof(*info));
info->library_name = "PCSX-ReARMed";
- info->library_version = "r22";
+#ifndef GIT_VERSION
+#define GIT_VERSION ""
+#endif
+ info->library_version = "r22" GIT_VERSION;
info->valid_extensions = "bin|cue|img|mdf|pbp|toc|cbn|m3u";
info->need_fullpath = true;
}