mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Cleanups
This commit is contained in:
parent
698999f129
commit
7928c3b098
@ -7082,26 +7082,26 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
|
||||
case DISPLAYLIST_IMAGES_HISTORY:
|
||||
#ifdef HAVE_IMAGEVIEWER
|
||||
if (settings->bools.history_list_enable)
|
||||
{
|
||||
menu_displaylist_parse_playlist_generic(menu, info,
|
||||
"images_history",
|
||||
settings->paths.path_content_image_history,
|
||||
&ret);
|
||||
else
|
||||
count++;
|
||||
}
|
||||
#endif
|
||||
if (count == 0)
|
||||
{
|
||||
menu_entries_append_enum(info->list,
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_NO_HISTORY_AVAILABLE),
|
||||
msg_hash_to_str(MENU_ENUM_LABEL_NO_HISTORY_AVAILABLE),
|
||||
MENU_ENUM_LABEL_NO_HISTORY_AVAILABLE,
|
||||
MENU_INFO_MESSAGE, 0, 0);
|
||||
ret = 0;
|
||||
}
|
||||
|
||||
if (ret == 0)
|
||||
{
|
||||
info->need_refresh = true;
|
||||
info->need_push = true;
|
||||
}
|
||||
#endif
|
||||
ret = 0;
|
||||
info->need_refresh = true;
|
||||
info->need_push = true;
|
||||
break;
|
||||
case DISPLAYLIST_AUDIO_FILTERS:
|
||||
menu_entries_ctl(MENU_ENTRIES_CTL_CLEAR, info->list);
|
||||
|
Loading…
x
Reference in New Issue
Block a user