Use git version as library_version

This commit is contained in:
Gregor Richards
2016-12-09 17:38:47 -05:00
parent 41fa98853f
commit 9b41cfb099
3 changed files with 12 additions and 0 deletions

View File

@@ -655,7 +655,11 @@ void retro_get_system_info(struct retro_system_info *info)
{
info->need_fullpath = true;
info->valid_extensions = "fds|nes|unf|unif";
#ifdef GIT_VERSION
info->library_version = "git" GIT_VERSION;
#else
info->library_version = "(SVN)";
#endif
info->library_name = "FCEUmm";
info->block_extract = false;
}