Hide savestates in the quickmenu if hardcore achievements are enabled. Fixes libretro/Lakka-LibreELEC#192

This commit is contained in:
Jean-André Santoni 2017-10-21 19:12:00 +07:00
parent 63ba8be296
commit dc7b1c122b

View File

@ -2839,7 +2839,8 @@ static int menu_displaylist_parse_load_content_settings(
MENU_SETTING_ACTION_SCREENSHOT, 0, 0); MENU_SETTING_ACTION_SCREENSHOT, 0, 0);
} }
if (settings->bools.quick_menu_show_save_load_state) if (settings->bools.quick_menu_show_save_load_state &&
! settings->bools.cheevos_hardcore_mode_enable)
{ {
menu_displaylist_parse_settings_enum(menu, info, menu_displaylist_parse_settings_enum(menu, info,
MENU_ENUM_LABEL_STATE_SLOT, PARSE_ONLY_INT, true); MENU_ENUM_LABEL_STATE_SLOT, PARSE_ONLY_INT, true);
@ -2858,7 +2859,8 @@ static int menu_displaylist_parse_load_content_settings(
} }
if (settings->bools.quick_menu_show_save_load_state && if (settings->bools.quick_menu_show_save_load_state &&
settings->bools.quick_menu_show_undo_save_load_state) settings->bools.quick_menu_show_undo_save_load_state &&
! settings->bools.cheevos_hardcore_mode_enable)
{ {
#ifdef HAVE_LAKKA #ifdef HAVE_LAKKA
if (show_advanced_settings) if (show_advanced_settings)