summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2022-12-04 13:38:01 -0500
committerGitHub <noreply@github.com>2022-12-04 13:38:01 -0500
commit522e7c5663bcb61a760c412d655295de11c38077 (patch)
treee76cacbb42a31d87eb014783a10597377a9898a4 /src/core
parentec547824f1f6c347339895057288a990222f21f8 (diff)
parent4cbbf590e3e811fac4b2605e148cd1b7f1ae2eb5 (diff)
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() {
original_npad_type = npad_type;
}
+ Disconnect();
if (player.connected) {
Connect();
- } else {
- Disconnect();
}
ReloadInput();