Show undo save/load state items order non-submenu addition

This commit is contained in:
sonninnos 2025-06-12 16:06:28 +03:00
parent 366bf083e4
commit 9d09ec3478
1 changed files with 7 additions and 7 deletions

View File

@ -3727,6 +3727,13 @@ static int menu_displaylist_parse_load_content_settings(
if (settings->bools.quick_menu_show_undo_save_load_state)
{
if (menu_entries_append(list,
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_UNDO_SAVE_STATE),
msg_hash_to_str(MENU_ENUM_LABEL_UNDO_SAVE_STATE),
MENU_ENUM_LABEL_UNDO_SAVE_STATE,
MENU_SETTING_ACTION_LOADSTATE, 0, 0, NULL))
count++;
#ifdef HAVE_CHEEVOS
if (!rcheevos_hardcore_active())
#endif
@ -3738,13 +3745,6 @@ static int menu_displaylist_parse_load_content_settings(
MENU_SETTING_ACTION_LOADSTATE, 0, 0, NULL))
count++;
}
if (menu_entries_append(list,
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_UNDO_SAVE_STATE),
msg_hash_to_str(MENU_ENUM_LABEL_UNDO_SAVE_STATE),
MENU_ENUM_LABEL_UNDO_SAVE_STATE,
MENU_SETTING_ACTION_LOADSTATE, 0, 0, NULL))
count++;
}
}
}