mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-11-23 12:43:14 +00:00
applets/controller: Set min_players to have a minimum value of 1.
- Some games like Shipped have a minimum requirement of 0 connected players and is undesired behavior. We must require a minimum of 1 player connected regardless of what games may ask.
This commit is contained in:
parent
371226448a
commit
f95ea04995
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ static Core::Frontend::ControllerParameters ConvertToFrontendParameters(
|
|||
npad_style_set.raw = private_arg.style_set;
|
||||
|
||||
return {
|
||||
.min_players = header.player_count_min,
|
||||
.min_players = std::max(s8(1), header.player_count_min),
|
||||
.max_players = header.player_count_max,
|
||||
.keep_controllers_connected = header.enable_take_over_connection,
|
||||
.enable_single_mode = header.enable_single_mode,
|
||||
|
|
Loading…
Reference in a new issue