Menu setting fixes (#13439)

Fixes for some netplay settings that don't work well in the menu.
This commit is contained in:
Cthulhu-throwaway 2022-01-04 09:21:53 -03:00 committed by GitHub
parent fb6dfd345f
commit c29fd8e53a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19308,6 +19308,7 @@ static bool setting_append_list(
general_read_handler); general_read_handler);
(*list)[list_info->index - 1].ui_type = ST_UI_TYPE_UINT_SPINBOX; (*list)[list_info->index - 1].ui_type = ST_UI_TYPE_UINT_SPINBOX;
(*list)[list_info->index - 1].action_ok = &setting_action_ok_uint; (*list)[list_info->index - 1].action_ok = &setting_action_ok_uint;
(*list)[list_info->index - 1].offset_by = 1;
menu_settings_list_current_add_range(list, list_info, 1, 31, 1, true, true); menu_settings_list_current_add_range(list, list_info, 1, 31, 1, true, true);
CONFIG_UINT( CONFIG_UINT(
@ -19321,9 +19322,8 @@ static bool setting_append_list(
parent_group, parent_group,
general_write_handler, general_write_handler,
general_read_handler); general_read_handler);
(*list)[list_info->index - 1].ui_type = ST_UI_TYPE_UINT_SPINBOX; (*list)[list_info->index - 1].ui_type = ST_UI_TYPE_UINT_SPINBOX;
(*list)[list_info->index - 1].action_ok = &setting_action_ok_uint; menu_settings_list_current_add_range(list, list_info, 0, 500, 10, true, true);
menu_settings_list_current_add_range(list, list_info, 0, 500, 25, true, true);
CONFIG_STRING( CONFIG_STRING(
list, list_info, list, list_info,