1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-08 20:25:47 +00:00

(core_info.c) core_info_list_resolve_all_firmware - add early continue if pointer

is NULL
This commit is contained in:
twinaphex 2015-04-04 21:26:49 +02:00
parent d41b55b25b
commit 0aeb6d2c45

View File

@ -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))