mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 08:37:41 +00:00
Remove unused STRING_LIST_CORES_NAMES
This commit is contained in:
parent
c78c542aea
commit
71bc817e99
@ -193,21 +193,6 @@ struct string_list *string_list_new_special(enum string_list_type type,
|
||||
string_list_append(s, opt, attr);
|
||||
}
|
||||
break;
|
||||
case STRING_LIST_CORES_NAMES:
|
||||
core_info_ctl(CORE_INFO_CTL_LIST_GET, &core_info_list);
|
||||
for (i = 0; i < core_info_list_num_info_files(core_info_list); i++)
|
||||
{
|
||||
const char *opt = NULL;
|
||||
core_info = (const core_info_t*)&core_info_list->list[i];
|
||||
opt = core_info ? core_info->display_name : NULL;
|
||||
|
||||
if (!opt)
|
||||
goto error;
|
||||
|
||||
*len += strlen(opt) + 1;
|
||||
string_list_append(s, opt, attr);
|
||||
}
|
||||
break;
|
||||
case STRING_LIST_NONE:
|
||||
default:
|
||||
goto error;
|
||||
|
@ -34,8 +34,7 @@ enum string_list_type
|
||||
STRING_LIST_INPUT_HID_DRIVERS,
|
||||
STRING_LIST_RECORD_DRIVERS,
|
||||
STRING_LIST_SUPPORTED_CORES_PATHS,
|
||||
STRING_LIST_SUPPORTED_CORES_NAMES,
|
||||
STRING_LIST_CORES_NAMES
|
||||
STRING_LIST_SUPPORTED_CORES_NAMES
|
||||
};
|
||||
|
||||
struct string_list *string_list_new_special(enum string_list_type type,
|
||||
|
Loading…
x
Reference in New Issue
Block a user