mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 19:24:46 +00:00
parent
a6c2e2981d
commit
8a043a9c6d
11
core_info.c
11
core_info.c
@ -265,8 +265,8 @@ static core_info_list_t *core_info_list_new(void)
|
||||
if (!core_info)
|
||||
goto error;
|
||||
|
||||
core_info_list->list = core_info;
|
||||
core_info_list->count = 0;
|
||||
core_info_list->list = core_info;
|
||||
core_info_list->count = contents->size;
|
||||
|
||||
for (i = 0; i < contents->size; i++)
|
||||
{
|
||||
@ -340,13 +340,6 @@ static core_info_list_t *core_info_list_new(void)
|
||||
strdup(path_basename(core_info[i].path));
|
||||
}
|
||||
|
||||
for (i = 0; i < contents->size; i++)
|
||||
{
|
||||
config_file_t *conf = (config_file_t*)
|
||||
core_info_list->list[i].config_data;
|
||||
core_info_list->count += !!conf;
|
||||
}
|
||||
|
||||
core_info_list_resolve_all_extensions(core_info_list);
|
||||
core_info_list_resolve_all_firmware(core_info_list);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user