diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-11-18 01:23:48 +0100 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2022-11-20 20:06:31 +0100 |
commit | 9efdad6a2733e701b24e9edcbad1851692ca8863 (patch) | |
tree | a0ba33591b59e59bcea565e3d5ec5b8b1846a687 /src/core/hid/emulated_controller.cpp | |
parent | Merge pull request #9250 from v1993/patch-10 (diff) | |
download | yuzu-9efdad6a2733e701b24e9edcbad1851692ca8863.tar yuzu-9efdad6a2733e701b24e9edcbad1851692ca8863.tar.gz yuzu-9efdad6a2733e701b24e9edcbad1851692ca8863.tar.bz2 yuzu-9efdad6a2733e701b24e9edcbad1851692ca8863.tar.lz yuzu-9efdad6a2733e701b24e9edcbad1851692ca8863.tar.xz yuzu-9efdad6a2733e701b24e9edcbad1851692ca8863.tar.zst yuzu-9efdad6a2733e701b24e9edcbad1851692ca8863.zip |
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 ec1364452..a2d106245 100644 --- a/src/core/hid/emulated_controller.cpp +++ b/src/core/hid/emulated_controller.cpp @@ -107,10 +107,9 @@ void EmulatedController::ReloadFromSettings() { original_npad_type = npad_type; } + Disconnect(); if (player.connected) { Connect(); - } else { - Disconnect(); } ReloadInput(); |