Przeglądaj źródła

core: hid: Disable special features before disconnecting the controllers

Narr the Reg 2 lat temu
rodzic
commit
0b0e9ef18d
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/hid_core/frontend/emulated_controller.cpp

+ 1 - 0
src/hid_core/frontend/emulated_controller.cpp

@@ -110,6 +110,7 @@ void EmulatedController::ReloadFromSettings() {
         original_npad_type = npad_type;
     }
 
+    SetPollingMode(EmulatedDeviceIndex::RightIndex, Common::Input::PollingMode::Active);
     Disconnect();
     if (player.connected) {
         Connect();