(Menu) Hide overlays, rewind and latency in kiosk mode

This commit is contained in:
Jean-André Santoni 2018-06-23 11:18:37 +07:00
parent 7566e09970
commit ab3d8979ea

View File

@ -2647,7 +2647,7 @@ static int menu_displaylist_parse_load_content_settings(
MENU_SETTING_ACTION, 0, 0);
}
if (settings->bools.menu_show_overlays)
if (settings->bools.menu_show_overlays && !settings->bools.kiosk_mode_enable)
{
menu_entries_append_enum(info->list,
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_ONSCREEN_OVERLAY_SETTINGS),
@ -2656,7 +2656,7 @@ static int menu_displaylist_parse_load_content_settings(
MENU_SETTING_ACTION, 0, 0);
}
if (settings->bools.menu_show_rewind)
if (settings->bools.menu_show_rewind && !settings->bools.kiosk_mode_enable)
{
menu_entries_append_enum(info->list,
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_REWIND_SETTINGS),
@ -2665,7 +2665,7 @@ static int menu_displaylist_parse_load_content_settings(
MENU_SETTING_ACTION, 0, 0);
}
if (settings->bools.menu_show_latency)
if (settings->bools.menu_show_latency && !settings->bools.kiosk_mode_enable)
{
menu_entries_append_enum(info->list,
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_LATENCY_SETTINGS),