mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-22 20:45:37 +01:00
core: hid: Only set polling mode if needed
This commit is contained in:
parent
8bd10473d6
commit
3b1c2896d9
@ -110,7 +110,11 @@ void EmulatedController::ReloadFromSettings() {
|
|||||||
original_npad_type = npad_type;
|
original_npad_type = npad_type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Disable special features before disconnecting
|
||||||
|
if (controller.right_polling_mode != Common::Input::PollingMode::Active) {
|
||||||
SetPollingMode(EmulatedDeviceIndex::RightIndex, Common::Input::PollingMode::Active);
|
SetPollingMode(EmulatedDeviceIndex::RightIndex, Common::Input::PollingMode::Active);
|
||||||
|
}
|
||||||
|
|
||||||
Disconnect();
|
Disconnect();
|
||||||
if (player.connected) {
|
if (player.connected) {
|
||||||
Connect();
|
Connect();
|
||||||
|
Loading…
Reference in New Issue
Block a user