diff options
author | Lioncash <mathew1800@gmail.com> | 2019-10-18 00:19:44 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-10-18 00:19:47 +0200 |
commit | 8d8e49524863cc5f97cfd8e5a4035ef052df9b58 (patch) | |
tree | afb0dc2e34bb1dadeebe962a5a441b60d51f7d94 /src/core | |
parent | hid/npad: Add missing break in default case (diff) | |
download | yuzu-8d8e49524863cc5f97cfd8e5a4035ef052df9b58.tar yuzu-8d8e49524863cc5f97cfd8e5a4035ef052df9b58.tar.gz yuzu-8d8e49524863cc5f97cfd8e5a4035ef052df9b58.tar.bz2 yuzu-8d8e49524863cc5f97cfd8e5a4035ef052df9b58.tar.lz yuzu-8d8e49524863cc5f97cfd8e5a4035ef052df9b58.tar.xz yuzu-8d8e49524863cc5f97cfd8e5a4035ef052df9b58.tar.zst yuzu-8d8e49524863cc5f97cfd8e5a4035ef052df9b58.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/service/hid/controllers/npad.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp index 64a86021f..81bd2f3cb 100644 --- a/src/core/hle/service/hid/controllers/npad.cpp +++ b/src/core/hle/service/hid/controllers/npad.cpp @@ -637,7 +637,7 @@ void Controller_NPad::DisconnectAllConnectedControllers() { void Controller_NPad::ConnectAllDisconnectedControllers() { for (ControllerHolder& controller : connected_controllers) { if (controller.type != NPadControllerType::None && !controller.is_connected) { - controller.is_connected = false; + controller.is_connected = true; } } } |