From eed066e8a762b88ce84453e5f3a0e1da666c0a06 Mon Sep 17 00:00:00 2001 From: spycrab Date: Sat, 7 Apr 2018 22:05:57 +0200 Subject: [PATCH] Core/GC: Fix rumble for "Luigi's Mansion" --- Source/Core/Core/HW/SI/SI_DeviceGCController.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Core/Core/HW/SI/SI_DeviceGCController.cpp b/Source/Core/Core/HW/SI/SI_DeviceGCController.cpp index 5d1ccacfb5..3ce1eb2b1d 100644 --- a/Source/Core/Core/HW/SI/SI_DeviceGCController.cpp +++ b/Source/Core/Core/HW/SI/SI_DeviceGCController.cpp @@ -309,14 +309,13 @@ void CSIDevice_GCController::SendCommand(u32 command, u8 poll) case CMD_WRITE: { unsigned int type = controller_command.parameter1; // 0 = stop, 1 = rumble, 2 = stop hard - unsigned int strength = controller_command.parameter2; // get the correct pad number that should rumble locally when using netplay const int pad_num = NetPlay_InGamePadToLocalPad(m_device_number); if (pad_num < 4) { - if (type == 1 && strength > 2) + if (type == 1) CSIDevice_GCController::Rumble(pad_num, 1.0); else CSIDevice_GCController::Rumble(pad_num, 0.0);