From 084e31f661e91c6d2c67a41a8905ac12a8ea8d9d Mon Sep 17 00:00:00 2001 From: Toad King Date: Sun, 12 Jan 2014 14:39:31 -0500 Subject: [PATCH] fix core names in menu for consoles --- core_info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core_info.c b/core_info.c index fb580bee81..20886e30e1 100644 --- a/core_info.c +++ b/core_info.c @@ -211,7 +211,7 @@ bool core_info_list_get_display_name(core_info_list_t *core_info_list, const cha for (i = 0; i < core_info_list->count; i++) { const core_info_t *info = &core_info_list->list[i]; - if (!strcmp(info->path, path) && info->display_name) + if (!strcmp(path_basename(info->path), path_basename(path)) && info->display_name) { strlcpy(buf, info->display_name, size); return true;