mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
Rename MENU_SETTING_CATEGORY to MENU_SETTING_GROUP
This commit is contained in:
parent
7ad55464b5
commit
f8bb9a7d77
@ -464,7 +464,7 @@ unsigned menu_common_type_is(const char *label, unsigned type)
|
||||
{
|
||||
if (
|
||||
type == MENU_SETTINGS ||
|
||||
type == MENU_SETTING_CATEGORY ||
|
||||
type == MENU_SETTING_GROUP ||
|
||||
!strcmp(label, "Shader Options") ||
|
||||
!strcmp(label, "core_options") ||
|
||||
!strcmp(label, "core_information") ||
|
||||
|
@ -75,11 +75,11 @@ typedef enum
|
||||
MENU_FILE_USE_DIRECTORY,
|
||||
MENU_FILE_CARCHIVE,
|
||||
MENU_FILE_IN_CARCHIVE,
|
||||
MENU_SETTING_CATEGORY,
|
||||
MENU_SETTING_SUBCATEGORY,
|
||||
MENU_SETTINGS,
|
||||
MENU_SETTING_DRIVER,
|
||||
MENU_SETTING_ACTION,
|
||||
MENU_SETTING_GROUP,
|
||||
MENU_SETTING_SUBGROUP,
|
||||
MENU_FILE_TYPE_T_LAST,
|
||||
} menu_file_type_t;
|
||||
|
||||
|
@ -118,7 +118,7 @@ int setting_set_flags(rarch_setting_t *setting)
|
||||
if (setting->type == ST_PATH)
|
||||
return MENU_FILE_PATH;
|
||||
if (setting->type == ST_GROUP)
|
||||
return MENU_SETTING_CATEGORY;
|
||||
return MENU_SETTING_GROUP;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -1866,7 +1866,7 @@ static int menu_entries_cbs_init_bind_ok_first(menu_file_list_cbs_t *cbs,
|
||||
cbs->action_ok = action_ok_custom_viewport;
|
||||
break;
|
||||
case MENU_SETTINGS:
|
||||
case MENU_SETTING_CATEGORY:
|
||||
case MENU_SETTING_GROUP:
|
||||
cbs->action_ok = action_ok_push_default;
|
||||
break;
|
||||
case MENU_SETTINGS_CORE_DISK_OPTIONS_DISK_CYCLE_TRAY_STATUS:
|
||||
@ -2013,7 +2013,7 @@ static void menu_entries_cbs_init_bind_deferred_push(menu_file_list_cbs_t *cbs,
|
||||
cbs->action_deferred_push = deferred_push_history_list;
|
||||
else if (!strcmp(label, "Shader Options"))
|
||||
cbs->action_deferred_push = deferred_push_shader_options;
|
||||
else if (type == MENU_SETTING_CATEGORY)
|
||||
else if (type == MENU_SETTING_GROUP)
|
||||
cbs->action_deferred_push = deferred_push_category;
|
||||
else if (!strcmp(label, "deferred_core_list"))
|
||||
cbs->action_deferred_push = deferred_push_core_list_deferred;
|
||||
|
Loading…
Reference in New Issue
Block a user