summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar german772021-11-28 21:03:42 -0600
committerGravatar german772021-11-28 21:03:42 -0600
commitdcc468555758531016eec2ba61bbc5dfdc86f6f6 (patch)
tree433efe0f7414aaa09d19006b3c0cd500fa8e0328 /src
parentMerge pull request #7396 from FernandoS27/blit-this-mf (diff)
downloadyuzu-dcc468555758531016eec2ba61bbc5dfdc86f6f6.tar.gz
yuzu-dcc468555758531016eec2ba61bbc5dfdc86f6f6.tar.xz
yuzu-dcc468555758531016eec2ba61bbc5dfdc86f6f6.zip
qt_controller: Fix input when the controller applet is ignored
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/applets/qt_controller.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu/applets/qt_controller.cpp b/src/yuzu/applets/qt_controller.cpp
index 589e0577a..7e80e7836 100644
--- a/src/yuzu/applets/qt_controller.cpp
+++ b/src/yuzu/applets/qt_controller.cpp
@@ -205,6 +205,9 @@ QtControllerSelectorDialog::QtControllerSelectorDialog(
205 // If all the parameters are met AND only allows a single player, 205 // If all the parameters are met AND only allows a single player,
206 // stop the constructor here as we do not need to continue. 206 // stop the constructor here as we do not need to continue.
207 if (CheckIfParametersMet() && parameters.enable_single_mode) { 207 if (CheckIfParametersMet() && parameters.enable_single_mode) {
208 for (std::size_t player_index = 0; player_index < NUM_PLAYERS; ++player_index) {
209 system.HIDCore().GetEmulatedControllerByIndex(player_index)->DisableConfiguration();
210 }
208 return; 211 return;
209 } 212 }
210 213