Fix for issue 78, Gamecube rumble bug. Untested.

This commit is contained in:
Carl.Kenner 2009-04-07 14:23:18 +00:00
parent 598894f503
commit 5854de3131

View File

@ -138,6 +138,7 @@ void ShutoffRumble()
WPAD_Rumble(i, 0); WPAD_Rumble(i, 0);
} }
#endif #endif
PAD_ControlMotor(PAD_CHAN0, PAD_MOTOR_STOP);
} }
/**************************************************************************** /****************************************************************************
@ -173,7 +174,7 @@ static void updateRumble() {
// Rumble wii remote 0 // Rumble wii remote 0
WPAD_Rumble(0, r); WPAD_Rumble(0, r);
#endif #endif
PAD_ControlMotor(PAD_CHAN0, PAD_MOTOR_RUMBLE); PAD_ControlMotor(PAD_CHAN0, r?PAD_MOTOR_RUMBLE:PAD_MOTOR_STOP);
} }
void updateRumbleFrame() { void updateRumbleFrame() {