summaryrefslogtreecommitdiffstats
path: root/src/core/hid
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-12-04 19:38:01 +0100
committerGitHub <noreply@github.com>2022-12-04 19:38:01 +0100
commit522e7c5663bcb61a760c412d655295de11c38077 (patch)
treee76cacbb42a31d87eb014783a10597377a9898a4 /src/core/hid
parentMerge pull request #9372 from liamwhite/vk12 (diff)
parentconfigure_input_player: Fix profile saving when using handheld controller type (diff)
downloadyuzu-522e7c5663bcb61a760c412d655295de11c38077.tar
yuzu-522e7c5663bcb61a760c412d655295de11c38077.tar.gz
yuzu-522e7c5663bcb61a760c412d655295de11c38077.tar.bz2
yuzu-522e7c5663bcb61a760c412d655295de11c38077.tar.lz
yuzu-522e7c5663bcb61a760c412d655295de11c38077.tar.xz
yuzu-522e7c5663bcb61a760c412d655295de11c38077.tar.zst
yuzu-522e7c5663bcb61a760c412d655295de11c38077.zip
Diffstat (limited to 'src/core/hid')
-rw-r--r--src/core/hid/emulated_controller.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hid/emulated_controller.cpp b/src/core/hid/emulated_controller.cpp
index 9779378be..74c877728 100644
--- a/src/core/hid/emulated_controller.cpp
+++ b/src/core/hid/emulated_controller.cpp
@@ -110,10 +110,9 @@ void EmulatedController::ReloadFromSettings() {
original_npad_type = npad_type;
}
+ Disconnect();
if (player.connected) {
Connect();
- } else {
- Disconnect();
}
ReloadInput();