diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2022-12-04 13:38:01 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-04 13:38:01 -0500 |
| commit | 522e7c5663bcb61a760c412d655295de11c38077 (patch) | |
| tree | e76cacbb42a31d87eb014783a10597377a9898a4 /src/core/hid/emulated_controller.cpp | |
| parent | ec547824f1f6c347339895057288a990222f21f8 (diff) | |
| parent | 4cbbf590e3e811fac4b2605e148cd1b7f1ae2eb5 (diff) | |
Merge pull request #9273 from ameerj/per-game-profile
Configuration: Add per-game input profiles
Diffstat (limited to 'src/core/hid/emulated_controller.cpp')
| -rw-r--r-- | src/core/hid/emulated_controller.cpp | 3 |
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(); |
