summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-01-19 09:33:31 -0500
committerGitHub <noreply@github.com>2024-01-19 09:33:31 -0500
commit10535e00161615214b0b8112717b62a6591fab54 (patch)
treebe044d7f7f354643b7f29b7f95e20d685a8f96e2
parenta8c552e261149779018556acbec298489763642f (diff)
parent0b0e9ef18d2bef7ebcaf041d9c9a2b410329742a (diff)
Merge pull request #12687 from german77/amiibo-lock
core: hid: Disable special features before disconnecting the controllers
-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() {
original_npad_type = npad_type;
}
+ SetPollingMode(EmulatedDeviceIndex::RightIndex, Common::Input::PollingMode::Active);
Disconnect();
if (player.connected) {
Connect();