Can now iteratively push a submenu onto the menu entries stack
This commit is contained in:
parent
913e80a59c
commit
182d691cf1
|
@ -2306,14 +2306,8 @@ int menu_displaylist_push_list(menu_displaylist_info_t *info, unsigned type)
|
||||||
break;
|
break;
|
||||||
case DISPLAYLIST_ACCOUNTS_CHEEVOS_LIST:
|
case DISPLAYLIST_ACCOUNTS_CHEEVOS_LIST:
|
||||||
#ifdef HAVE_CHEEVOS
|
#ifdef HAVE_CHEEVOS
|
||||||
menu_entries_push(info->list,
|
ret = menu_displaylist_parse_settings(menu, info, SL_FLAG_SETTINGS_GROUP_ALL,
|
||||||
menu_hash_to_str(MENU_LABEL_VALUE_ACCOUNTS_CHEEVOS_USERNAME),
|
"Accounts", PARSE_NONE);
|
||||||
menu_hash_to_str(MENU_LABEL_ACCOUNTS_CHEEVOS_USERNAME),
|
|
||||||
0, 0, 0);
|
|
||||||
menu_entries_push(info->list,
|
|
||||||
menu_hash_to_str(MENU_LABEL_VALUE_ACCOUNTS_CHEEVOS_PASSWORD),
|
|
||||||
menu_hash_to_str(MENU_LABEL_ACCOUNTS_CHEEVOS_PASSWORD),
|
|
||||||
0, 0, 0);
|
|
||||||
#else
|
#else
|
||||||
menu_entries_push(info->list,
|
menu_entries_push(info->list,
|
||||||
menu_hash_to_str(MENU_LABEL_VALUE_NO_ITEMS),
|
menu_hash_to_str(MENU_LABEL_VALUE_NO_ITEMS),
|
||||||
|
|
|
@ -5956,7 +5956,7 @@ static bool setting_append_list_accounts_options(
|
||||||
settings_data_list_current_add_flags(list, list_info, SD_FLAG_ALLOW_INPUT);
|
settings_data_list_current_add_flags(list, list_info, SD_FLAG_ALLOW_INPUT);
|
||||||
|
|
||||||
CONFIG_STRING(
|
CONFIG_STRING(
|
||||||
settings->cheevos.username,
|
settings->cheevos.password,
|
||||||
#if 0
|
#if 0
|
||||||
menu_hash_to_str(MENU_LABEL_CHEEVOS_USERNAME),
|
menu_hash_to_str(MENU_LABEL_CHEEVOS_USERNAME),
|
||||||
menu_hash_to_str(MENU_LABEL_VALUE_CHEEVOS_USERNAME),
|
menu_hash_to_str(MENU_LABEL_VALUE_CHEEVOS_USERNAME),
|
||||||
|
|
|
@ -90,8 +90,8 @@ enum setting_list_flags
|
||||||
SL_FLAG_SETTINGS_FRAME_THROTTLE_OPTIONS = (1 << 26),
|
SL_FLAG_SETTINGS_FRAME_THROTTLE_OPTIONS = (1 << 26),
|
||||||
SL_FLAG_SETTINGS_LOGGING_OPTIONS = (1 << 27),
|
SL_FLAG_SETTINGS_LOGGING_OPTIONS = (1 << 27),
|
||||||
SL_FLAG_SETTINGS_SAVING_OPTIONS = (1 << 28),
|
SL_FLAG_SETTINGS_SAVING_OPTIONS = (1 << 28),
|
||||||
SL_FLAG_SETTINGS_ALL = (1 << 29),
|
SL_FLAG_SETTINGS_SUB_ACCOUNTS_OPTIONS = (1 << 29),
|
||||||
SL_FLAG_SETTINGS_SUB_ACCOUNTS_OPTIONS = (1 << 30),
|
SL_FLAG_SETTINGS_ALL = (1 << 30),
|
||||||
SL_FLAG_ALLOW_EMPTY_LIST = (1 << 31)
|
SL_FLAG_ALLOW_EMPTY_LIST = (1 << 31)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue