summaryrefslogtreecommitdiff
path: root/libretro.c
diff options
context:
space:
mode:
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 095cdd0..dfe6cbe 100644
--- a/libretro.c
+++ b/libretro.c
@@ -116,7 +116,10 @@ extern struct retro_perf_callback perf_cb;
void retro_get_system_info(struct retro_system_info* info)
{
info->library_name = "gpSP";
- info->library_version = "v0.91";
+#ifndef GIT_VERSION
+#define GIT_VERSION ""
+#endif
+ info->library_version = "v0.91" GIT_VERSION;
info->need_fullpath = true;
info->block_extract = false;
info->valid_extensions = "gba|bin|agb|gbz" ;