mirror of
https://github.com/dborth/vbagx.git
synced 2024-11-01 08:25:12 +01:00
Fix for issue 78, Gamecube rumble bug. Untested.
This commit is contained in:
parent
598894f503
commit
5854de3131
@ -138,6 +138,7 @@ void ShutoffRumble()
|
||||
WPAD_Rumble(i, 0);
|
||||
}
|
||||
#endif
|
||||
PAD_ControlMotor(PAD_CHAN0, PAD_MOTOR_STOP);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
@ -173,7 +174,7 @@ static void updateRumble() {
|
||||
// Rumble wii remote 0
|
||||
WPAD_Rumble(0, r);
|
||||
#endif
|
||||
PAD_ControlMotor(PAD_CHAN0, PAD_MOTOR_RUMBLE);
|
||||
PAD_ControlMotor(PAD_CHAN0, r?PAD_MOTOR_RUMBLE:PAD_MOTOR_STOP);
|
||||
}
|
||||
|
||||
void updateRumbleFrame() {
|
||||
|
Loading…
Reference in New Issue
Block a user