mirror of
https://github.com/libretro/RetroArch
synced 2025-03-17 10:21:26 +00:00
Start using MENU_ENUM_LABEL_MAIN_MENU
This commit is contained in:
parent
8e9adba956
commit
bc8cf99ddd
@ -706,6 +706,9 @@ static int menu_cbs_init_bind_title_compare_label(menu_file_list_cbs_t *cbs,
|
||||
{
|
||||
switch (cbs->enum_idx)
|
||||
{
|
||||
case MENU_ENUM_LABEL_MAIN_MENU:
|
||||
BIND_ACTION_GET_TITLE(cbs, action_get_title_group_settings);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_DEFERRED_DATABASE_MANAGER_LIST:
|
||||
BIND_ACTION_GET_TITLE(cbs, action_get_title_deferred_database_manager_list);
|
||||
break;
|
||||
|
@ -3938,7 +3938,7 @@ static bool setting_append_list(
|
||||
switch (type)
|
||||
{
|
||||
case SETTINGS_LIST_MAIN_MENU:
|
||||
START_GROUP(list, list_info, &group_info, menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_MAIN_MENU), parent_group);
|
||||
START_GROUP(list, list_info, &group_info, menu_hash_to_str_enum(MENU_ENUM_LABEL_MAIN_MENU), parent_group);
|
||||
menu_settings_list_current_add_enum_idx(list, list_info, MENU_ENUM_LABEL_MAIN_MENU);
|
||||
START_SUB_GROUP(list, list_info, "State", &group_info, &subgroup_info, parent_group);
|
||||
|
||||
@ -8129,7 +8129,7 @@ static rarch_setting_t *menu_setting_new_internal(rarch_setting_info_t *list_inf
|
||||
SETTINGS_LIST_PRIVACY
|
||||
};
|
||||
rarch_setting_t terminator = menu_setting_terminator_setting();
|
||||
const char *root = menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_MAIN_MENU);
|
||||
const char *root = menu_hash_to_str_enum(MENU_ENUM_LABEL_MAIN_MENU);
|
||||
rarch_setting_t *list = (rarch_setting_t*)calloc(
|
||||
list_info->size, sizeof(*list));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user