Fix library version string

This commit is contained in:
twinaphex 2018-11-04 15:14:08 +01:00
parent d59d42b901
commit a25ec048d4
2 changed files with 1 additions and 10 deletions

View File

@ -390,7 +390,7 @@ bool libretro_get_system_info(const char *path,
dummy_info.valid_extensions, sizeof(current_valid_extensions));
info->library_name = current_library_name;
info->library_version = current_library_name;
info->library_version = current_library_version;
info->valid_extensions = current_valid_extensions;
#ifdef HAVE_DYNAMIC

View File

@ -1698,15 +1698,6 @@ bool rarch_ctl(enum rarch_ctl_state state, void *data)
audio_driver_unset_callback();
#if 0
if (!string_is_empty(runloop_system.info.library_name))
free((void*)runloop_system.info.library_name);
if (!string_is_empty(runloop_system.info.library_version))
free((void*)runloop_system.info.library_version);
if (!string_is_empty(runloop_system.info.valid_extensions))
free((void*)runloop_system.info.valid_extensions);
#endif
runloop_system.info.library_name = NULL;
runloop_system.info.library_version = NULL;
runloop_system.info.valid_extensions = NULL;