summaryrefslogtreecommitdiff
path: root/src/hid_core
diff options
context:
space:
mode:
authorGravatar Narr the Reg2024-01-16 14:44:35 -0600
committerGravatar Narr the Reg2024-01-16 14:44:54 -0600
commit0b0e9ef18d2bef7ebcaf041d9c9a2b410329742a (patch)
tree39b3f0d7ee4e4a9603a5709e00aec8fe2c3f7956 /src/hid_core
parentMerge pull request #12686 from szepeviktor/typos3 (diff)
downloadyuzu-0b0e9ef18d2bef7ebcaf041d9c9a2b410329742a.tar.gz
yuzu-0b0e9ef18d2bef7ebcaf041d9c9a2b410329742a.tar.xz
yuzu-0b0e9ef18d2bef7ebcaf041d9c9a2b410329742a.zip
core: hid: Disable special features before disconnecting the controllers
Diffstat (limited to 'src/hid_core')
-rw-r--r--src/hid_core/frontend/emulated_controller.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hid_core/frontend/emulated_controller.cpp b/src/hid_core/frontend/emulated_controller.cpp
index 2ab93402d..b001cf2fd 100644
--- a/src/hid_core/frontend/emulated_controller.cpp
+++ b/src/hid_core/frontend/emulated_controller.cpp
@@ -110,6 +110,7 @@ void EmulatedController::ReloadFromSettings() {
110 original_npad_type = npad_type; 110 original_npad_type = npad_type;
111 } 111 }
112 112
113 SetPollingMode(EmulatedDeviceIndex::RightIndex, Common::Input::PollingMode::Active);
113 Disconnect(); 114 Disconnect();
114 if (player.connected) { 115 if (player.connected) {
115 Connect(); 116 Connect();