mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 07:20:36 +00:00
(core_info.c) core_info_list_resolve_all_firmware - add early continue if pointer
is NULL
This commit is contained in:
parent
d41b55b25b
commit
0aeb6d2c45
@ -70,10 +70,10 @@ static void core_info_list_resolve_all_firmware(
|
||||
|
||||
for (i = 0; i < core_info_list->count; i++)
|
||||
{
|
||||
unsigned count = 0;
|
||||
unsigned count = 0;
|
||||
core_info_t *info = (core_info_t*)&core_info_list->list[i];
|
||||
|
||||
if (!info->data)
|
||||
if (!info || !info->data)
|
||||
continue;
|
||||
|
||||
if (!config_get_uint(info->data, "firmware_count", &count))
|
||||
|
Loading…
x
Reference in New Issue
Block a user