mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
Try to have a more robust fallback path for
menu_displaylist_parse_generic
This commit is contained in:
parent
a5e35e7193
commit
af12858953
@ -1252,15 +1252,12 @@ static int menu_displaylist_parse_playlist(menu_displaylist_info_t *info,
|
||||
size_t selection = menu_navigation_get_selection();
|
||||
|
||||
if (!playlist)
|
||||
return -1;
|
||||
goto error;
|
||||
|
||||
list_size = playlist_size(playlist);
|
||||
|
||||
if (list_size == 0)
|
||||
{
|
||||
info->need_push_no_playlist_entries = true;
|
||||
return 0;
|
||||
}
|
||||
goto error;
|
||||
|
||||
if (!string_is_empty(info->path))
|
||||
{
|
||||
@ -1358,6 +1355,10 @@ static int menu_displaylist_parse_playlist(menu_displaylist_info_t *info,
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
error:
|
||||
info->need_push_no_playlist_entries = true;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int menu_displaylist_parse_shader_options(menu_displaylist_info_t *info)
|
||||
|
Loading…
Reference in New Issue
Block a user