This commit is contained in:
twinaphex 2016-07-20 02:58:26 +02:00
parent 84af36c8e9
commit 264f03d4f2

View File

@ -623,8 +623,13 @@ 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;
struct string_list *contents = NULL;
settings_t *settings = config_get_ptr();
struct string_list *contents = dir_list_new_special(
if (!settings)
return;
contents = dir_list_new_special(
settings->directory.libretro,
DIR_LIST_CORES, NULL);