mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-08-20 06:53:23 +02: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
@ -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 New Issue
Block a user