Libretro: Fix problems with rumble not turning off

This commit is contained in:
Jeffrey Pfau 2015-11-05 21:06:31 -08:00
parent de557fcbdd
commit 51c79d0cf0
2 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ Bugfixes:
- GBA Video: Fix _mix for 15-bit color
- Qt: Fix font size in memory viewer
- Qt: Fix a crash in the memory viewer
- Libretro: Fix problems with rumble not turning off
Misc:
- GBA Audio: Implement missing flags on SOUNDCNT_X register

View File

@ -443,6 +443,7 @@ static void _setRumble(struct GBARumble* rumble, int enable) {
}
CircleBufferWrite8(&rumbleHistory, enable);
rumbleCallback(0, RETRO_RUMBLE_STRONG, rumbleLevel * 0xFFFF / RUMBLE_PWM);
rumbleCallback(0, RETRO_RUMBLE_WEAK, rumbleLevel * 0xFFFF / RUMBLE_PWM);
}
static void _updateLux(struct GBALuminanceSource* lux) {