mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-11 21:35:08 +00:00
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:
parent
d076466f26
commit
8d8e495248
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue