mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-22 14:15:44 +01: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 New Issue
Block a user