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
|
@ -25,7 +25,7 @@ static Core::Frontend::ControllerParameters ConvertToFrontendParameters(
|
||||||
npad_style_set.raw = private_arg.style_set;
|
npad_style_set.raw = private_arg.style_set;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
.min_players = header.player_count_min,
|
.min_players = std::max(s8(1), header.player_count_min),
|
||||||
.max_players = header.player_count_max,
|
.max_players = header.player_count_max,
|
||||||
.keep_controllers_connected = header.enable_take_over_connection,
|
.keep_controllers_connected = header.enable_take_over_connection,
|
||||||
.enable_single_mode = header.enable_single_mode,
|
.enable_single_mode = header.enable_single_mode,
|
||||||
|
|
Loading…
Reference in New Issue