diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2022-12-04 19:38:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-04 19:38:01 +0100 |
commit | 522e7c5663bcb61a760c412d655295de11c38077 (patch) | |
tree | e76cacbb42a31d87eb014783a10597377a9898a4 /src/core/hid | |
parent | Merge pull request #9372 from liamwhite/vk12 (diff) | |
parent | configure_input_player: Fix profile saving when using handheld controller type (diff) | |
download | yuzu-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.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(); |