aboutsummaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authorGregor Richards2016-12-09 19:56:33 -0500
committerGregor Richards2016-12-09 19:56:33 -0500
commit8fc5171a4c53b6f0e7ef7247d36ee5e05eaf0a07 (patch)
tree1c711b85837e96914b692778376f7cf2dc51927f /frontend
parent6a0ea0daa46d27def21f39fcae216a7e8f2abdf3 (diff)
downloadpcsx_rearmed-8fc5171a4c53b6f0e7ef7247d36ee5e05eaf0a07.tar.gz
pcsx_rearmed-8fc5171a4c53b6f0e7ef7247d36ee5e05eaf0a07.tar.bz2
pcsx_rearmed-8fc5171a4c53b6f0e7ef7247d36ee5e05eaf0a07.zip
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;
}