mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-14 14:28:47 +00:00
Move Custom Ratio to Video Options
This commit is contained in:
parent
3fe23e8964
commit
47cb5961c2
@ -1637,6 +1637,9 @@ static int menu_cbs_init_bind_ok_compare_label(menu_file_list_cbs_t *cbs,
|
||||
case MENU_LABEL_CONFIGURATIONS:
|
||||
cbs->action_ok = action_ok_configurations_list;
|
||||
break;
|
||||
case MENU_LABEL_CUSTOM_RATIO:
|
||||
cbs->action_ok = action_ok_custom_viewport;
|
||||
break;
|
||||
default:
|
||||
return -1;
|
||||
}
|
||||
@ -1787,9 +1790,6 @@ static int menu_cbs_init_bind_ok_compare_type(menu_file_list_cbs_t *cbs,
|
||||
cbs->action_ok = action_ok_file_load_ffmpeg;
|
||||
#endif
|
||||
break;
|
||||
case MENU_SETTINGS_CUSTOM_VIEWPORT:
|
||||
cbs->action_ok = action_ok_custom_viewport;
|
||||
break;
|
||||
case MENU_SETTINGS:
|
||||
case MENU_SETTING_GROUP:
|
||||
case MENU_SETTING_SUBGROUP:
|
||||
|
@ -2018,11 +2018,6 @@ int menu_displaylist_push_list(menu_displaylist_info_t *info, unsigned type)
|
||||
menu_hash_to_str(MENU_LABEL_SCREEN_RESOLUTION),
|
||||
MENU_SETTINGS_VIDEO_RESOLUTION, 0, 0);
|
||||
#endif
|
||||
menu_list_push(info->list,
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_CUSTOM_RATIO),
|
||||
menu_hash_to_str(MENU_LABEL_CUSTOM_RATIO),
|
||||
MENU_SETTINGS_CUSTOM_VIEWPORT, 0, 0);
|
||||
|
||||
need_push = true;
|
||||
break;
|
||||
case DISPLAYLIST_PERFCOUNTERS_CORE:
|
||||
|
@ -4401,6 +4401,13 @@ static bool setting_append_list_video_options(
|
||||
(*list)[list_info->index - 1].get_string_representation =
|
||||
&setting_get_string_representation_uint_aspect_ratio_index;
|
||||
|
||||
CONFIG_ACTION(
|
||||
menu_hash_to_str(MENU_LABEL_CUSTOM_RATIO),
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_CUSTOM_RATIO),
|
||||
group_info.name,
|
||||
subgroup_info.name,
|
||||
parent_group);
|
||||
|
||||
END_SUB_GROUP(list, list_info, parent_group);
|
||||
START_SUB_GROUP(list, list_info, "Scaling", group_info.name, subgroup_info, parent_group);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user