From 84af36c8e98006dbda1eefd9e13f7a4d1962fa3b Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 20 Jul 2016 02:57:25 +0200 Subject: [PATCH] Fix this --- core_info.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core_info.c b/core_info.c index e196218329..d3282f7465 100644 --- a/core_info.c +++ b/core_info.c @@ -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;