diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-08-28 15:02:50 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-09-04 18:23:25 +0200 |
commit | f95ea04995cf6ad8ea212078078780eb3ecfd460 (patch) | |
tree | 30c1d053d7ef6b6d698cc4937b751a132ba086fb /src | |
parent | applets/controller: Modify heuristic to account for certain games (diff) | |
download | yuzu-f95ea04995cf6ad8ea212078078780eb3ecfd460.tar yuzu-f95ea04995cf6ad8ea212078078780eb3ecfd460.tar.gz yuzu-f95ea04995cf6ad8ea212078078780eb3ecfd460.tar.bz2 yuzu-f95ea04995cf6ad8ea212078078780eb3ecfd460.tar.lz yuzu-f95ea04995cf6ad8ea212078078780eb3ecfd460.tar.xz yuzu-f95ea04995cf6ad8ea212078078780eb3ecfd460.tar.zst yuzu-f95ea04995cf6ad8ea212078078780eb3ecfd460.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/service/am/applets/controller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/am/applets/controller.cpp b/src/core/hle/service/am/applets/controller.cpp index 63c85256d..6edb35704 100644 --- a/src/core/hle/service/am/applets/controller.cpp +++ b/src/core/hle/service/am/applets/controller.cpp @@ -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, |