mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Prevent crash when we select 'Open Archive' and we have no
installed cores and no core info files
This commit is contained in:
parent
c27038d9bd
commit
cc282e4bf6
@ -653,8 +653,7 @@ static int general_push(menu_displaylist_info_t *info,
|
||||
switch (id)
|
||||
{
|
||||
case PUSH_ARCHIVE_OPEN_DETECT_CORE:
|
||||
|
||||
if (!string_is_empty(list->all_ext))
|
||||
if (list && !string_is_empty(list->all_ext))
|
||||
strlcpy(info->exts, list->all_ext, sizeof(info->exts));
|
||||
else if (system_menu->valid_extensions)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user