hid/npad: Fix incorrect connection boolean value in ConnectAllDisconnectedControllers()

We should be setting the connection state to true, otherwise we aren't
actually making the controllers connected like the function name
indicates.
master
Lioncash 2019-10-17 18:19:44 +07:00
parent d076466f26
commit 8d8e495248
1 changed files with 1 additions and 1 deletions

@ -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;
}
}
}