From 203c64e66d7c0de24377c8cdbb78dfd709bf1d13 Mon Sep 17 00:00:00 2001 From: skidau Date: Thu, 5 Mar 2015 23:57:18 +1100 Subject: [PATCH] Changed the GC Adapter rumble command to work like other controllers. --- Source/Core/Core/HW/SI_DeviceGCController.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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) {