summaryrefslogtreecommitdiffstats
path: root/src/hid_core
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-01-19 15:33:31 +0100
committerGitHub <noreply@github.com>2024-01-19 15:33:31 +0100
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
yuzu-10535e00161615214b0b8112717b62a6591fab54.tar.gz
yuzu-10535e00161615214b0b8112717b62a6591fab54.tar.bz2
yuzu-10535e00161615214b0b8112717b62a6591fab54.tar.lz
yuzu-10535e00161615214b0b8112717b62a6591fab54.tar.xz
yuzu-10535e00161615214b0b8112717b62a6591fab54.tar.zst
yuzu-10535e00161615214b0b8112717b62a6591fab54.zip
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() {
original_npad_type = npad_type;
}
+ SetPollingMode(EmulatedDeviceIndex::RightIndex, Common::Input::PollingMode::Active);
Disconnect();
if (player.connected) {
Connect();