Don't require display_info for core_info_list_get_info.

This commit is contained in:
Themaister 2014-03-02 14:12:27 +01:00
parent 511bc8b5ec
commit 2d8313479b

View File

@ -229,7 +229,7 @@ bool core_info_list_get_info(core_info_list_t *core_info_list, core_info_t *out_
for (i = 0; i < core_info_list->count; i++)
{
const core_info_t *info = &core_info_list->list[i];
if (!strcmp(path_basename(info->path), path_basename(path)) && info->display_name)
if (!strcmp(path_basename(info->path), path_basename(path)))
{
*out_info = *info;
return true;