This commit is contained in:
twinaphex 2016-07-20 02:57:25 +02:00
parent 08c57063fd
commit 84af36c8e9

View File

@ -623,8 +623,10 @@ void core_info_get_name(const char *path, char *s, size_t len)
size_t i;
core_info_t *core_info = NULL;
core_info_list_t *core_info_list = NULL;
settings_t *settings = config_get_ptr();
struct string_list *contents = dir_list_new_special(
NULL, DIR_LIST_CORES, NULL);
settings->directory.libretro,
DIR_LIST_CORES, NULL);
if (!contents)
return;