summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGravatar liamwhite2022-12-04 13:38:01 -0500
committerGravatar GitHub2022-12-04 13:38:01 -0500
commit522e7c5663bcb61a760c412d655295de11c38077 (patch)
treee76cacbb42a31d87eb014783a10597377a9898a4 /src/core
parentMerge pull request #9372 from liamwhite/vk12 (diff)
parentconfigure_input_player: Fix profile saving when using handheld controller type (diff)
downloadyuzu-522e7c5663bcb61a760c412d655295de11c38077.tar.gz
yuzu-522e7c5663bcb61a760c412d655295de11c38077.tar.xz
yuzu-522e7c5663bcb61a760c412d655295de11c38077.zip
Merge pull request #9273 from ameerj/per-game-profile
Configuration: Add per-game input profiles
Diffstat (limited to 'src/core')
-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() {
110 original_npad_type = npad_type; 110 original_npad_type = npad_type;
111 } 111 }
112 112
113 Disconnect();
113 if (player.connected) { 114 if (player.connected) {
114 Connect(); 115 Connect();
115 } else {
116 Disconnect();
117 } 116 }
118 117
119 ReloadInput(); 118 ReloadInput();