Skip to content

Commit

Permalink
(XMB) Fix display of 'Maximum Users' menu entry dropdown list
Browse files Browse the repository at this point in the history
  • Loading branch information
jdgleaver committed May 17, 2021
1 parent ad5b2d6 commit be84700
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions menu/menu_setting.c
Original file line number Diff line number Diff line change
Expand Up @@ -7414,12 +7414,7 @@ static void general_write_handler(rarch_setting_t *setting)
}
break;
case MENU_ENUM_LABEL_INPUT_MAX_USERS:
{
bool refresh = false;
command_event(CMD_EVENT_CONTROLLER_INIT, NULL);
menu_entries_ctl(MENU_ENTRIES_CTL_SET_REFRESH, &refresh);
menu_driver_ctl(RARCH_MENU_CTL_SET_PREVENT_POPULATE, NULL);
}
command_event(CMD_EVENT_CONTROLLER_INIT, NULL);
break;
case MENU_ENUM_LABEL_INPUT_PLAYER1_JOYPAD_INDEX:
case MENU_ENUM_LABEL_INPUT_PLAYER2_JOYPAD_INDEX:
Expand Down Expand Up @@ -12150,7 +12145,9 @@ static bool setting_append_list(
parent_group,
general_write_handler,
general_read_handler);
(*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].action_left = &setting_uint_action_left_with_refresh;
(*list)[list_info->index - 1].action_right = &setting_uint_action_right_with_refresh;
(*list)[list_info->index - 1].get_string_representation =
&setting_get_string_representation_max_users;
(*list)[list_info->index - 1].offset_by = 1;
Expand Down

0 comments on commit be84700

Please sign in to comment.