mirror of
https://github.com/libretro/RetroArch
synced 2025-01-16 07:11:49 +00:00
fix core names in menu for consoles
This commit is contained in:
parent
afd9ad779a
commit
084e31f661
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user