mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-23 19:30:45 +00:00
Use menu_hash_to_str_enum
This commit is contained in:
parent
e92d240f08
commit
e1316cb7ba
@ -1186,8 +1186,8 @@ void video_driver_menu_settings(void **list_data, void *list_info_data,
|
||||
#if defined(GEKKO) || defined(__CELLOS_LV2__)
|
||||
CONFIG_ACTION(
|
||||
list, list_info,
|
||||
menu_hash_to_str(MENU_LABEL_SCREEN_RESOLUTION),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_SCREEN_RESOLUTION),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_SCREEN_RESOLUTION),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_SCREEN_RESOLUTION),
|
||||
group_info,
|
||||
subgroup_info,
|
||||
parent_group);
|
||||
@ -1197,11 +1197,11 @@ void video_driver_menu_settings(void **list_data, void *list_info_data,
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&global->console.screen.pal60_enable,
|
||||
menu_hash_to_str(MENU_LABEL_PAL60_ENABLE),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_PAL60_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_PAL60_ENABLE),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_PAL60_ENABLE),
|
||||
false,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
group_info,
|
||||
subgroup_info,
|
||||
parent_group,
|
||||
@ -1214,8 +1214,8 @@ void video_driver_menu_settings(void **list_data, void *list_info_data,
|
||||
CONFIG_UINT(
|
||||
list, list_info,
|
||||
&global->console.screen.gamma_correction,
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_GAMMA),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_GAMMA),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_GAMMA),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_GAMMA),
|
||||
0,
|
||||
group_info,
|
||||
subgroup_info,
|
||||
@ -1242,11 +1242,11 @@ void video_driver_menu_settings(void **list_data, void *list_info_data,
|
||||
CONFIG_BOOL(
|
||||
list, list_info,
|
||||
&global->console.softfilter_enable,
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_SOFT_FILTER),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_SOFT_FILTER),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_SOFT_FILTER),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_SOFT_FILTER),
|
||||
false,
|
||||
menu_hash_to_str(MENU_VALUE_OFF),
|
||||
menu_hash_to_str(MENU_VALUE_ON),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_OFF),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_ON),
|
||||
group_info,
|
||||
subgroup_info,
|
||||
parent_group,
|
||||
@ -1263,8 +1263,8 @@ void video_driver_menu_settings(void **list_data, void *list_info_data,
|
||||
CONFIG_UINT(
|
||||
list, list_info,
|
||||
&settings->video.swap_interval,
|
||||
menu_hash_to_str(MENU_LABEL_VIDEO_FILTER_FLICKER),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_VIDEO_FILTER_FLICKER),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VIDEO_FILTER_FLICKER),
|
||||
menu_hash_to_str_enum(MENU_ENUM_LABEL_VALUE_VIDEO_FILTER_FLICKER),
|
||||
0,
|
||||
group_info,
|
||||
subgroup_info,
|
||||
|
Loading…
x
Reference in New Issue
Block a user