diff options
| author | skidau <skidau@gmail.com> | 2015-03-05 23:57:18 +1100 |
|---|---|---|
| committer | skidau <skidau@gmail.com> | 2015-03-05 23:57:18 +1100 |
| commit | 203c64e66d7c0de24377c8cdbb78dfd709bf1d13 (patch) | |
| tree | 992376e28b448d2eb42eae437de0ee0387771eb7 | |
| parent | 4cf4cee30ecfa6958342bcf954663932b65716a2 (diff) | |
Changed the GC Adapter rumble command to work like other controllers.
| -rw-r--r-- | Source/Core/Core/HW/SI_DeviceGCController.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/Core/Core/HW/SI_DeviceGCController.cpp b/Source/Core/Core/HW/SI_DeviceGCController.cpp index 5fcd50aaa0..4e923c1f21 100644 --- a/Source/Core/Core/HW/SI_DeviceGCController.cpp +++ b/Source/Core/Core/HW/SI_DeviceGCController.cpp @@ -270,7 +270,13 @@ void CSIDevice_GCController::SendCommand(u32 _Cmd, u8 _Poll) const u8 numPAD = NetPlay_InGamePadToLocalPad(ISIDevice::m_iDeviceNumber); #if defined(__LIBUSB__) || defined (_WIN32) - SI_GCAdapter::Output(numPAD, command.Parameter1 & 0xff); + if (numPAD < 4) + { + if (uType == 1 && uStrength > 2) + SI_GCAdapter::Output(numPAD, 1); + else + SI_GCAdapter::Output(numPAD, 0); + } #endif if (numPAD < 4) { |
