summaryrefslogtreecommitdiff
path: root/src/hid_core
diff options
context:
space:
mode:
authorGravatar liamwhite2024-01-19 09:33:31 -0500
committerGravatar GitHub2024-01-19 09:33:31 -0500
commit10535e00161615214b0b8112717b62a6591fab54 (patch)
treebe044d7f7f354643b7f29b7f95e20d685a8f96e2 /src/hid_core
parentMerge pull request #12695 from anpilley/user-arguments-v2 (diff)
parentcore: hid: Disable special features before disconnecting the controllers (diff)
downloadyuzu-10535e00161615214b0b8112717b62a6591fab54.tar.gz
yuzu-10535e00161615214b0b8112717b62a6591fab54.tar.xz
yuzu-10535e00161615214b0b8112717b62a6591fab54.zip
Merge pull request #12687 from german77/amiibo-lock
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();