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.
This commit is contained in:
Lioncash 2019-10-17 18:19:44 -04:00
parent d076466f26
commit 8d8e495248

View file

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