mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 18:58:21 +00:00
Revert "Not sure why we are doing this, we shouldn't need to do this if"
This reverts commit ca6c0110fe
.
This commit is contained in:
parent
ca6c0110fe
commit
cf9ecbcf39
@ -354,6 +354,14 @@ bool libretro_get_system_info(const char *path,
|
||||
|
||||
memcpy(info, &dummy_info, sizeof(*info));
|
||||
|
||||
if (!string_is_empty(dummy_info.library_name))
|
||||
info->library_name = strdup(dummy_info.library_name);
|
||||
if (!string_is_empty(dummy_info.library_version))
|
||||
info->library_version = strdup(dummy_info.library_version);
|
||||
|
||||
if (dummy_info.valid_extensions)
|
||||
info->valid_extensions = strdup(dummy_info.valid_extensions);
|
||||
|
||||
#ifdef HAVE_DYNAMIC
|
||||
dylib_close(lib);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user