Libretro: Fix problems with rumble not turning off

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

View File

@ -16,6 +16,7 @@ Bugfixes:
- GBA Memory: Fix DMA register writing behavior
- Qt: Fix a crash in the memory viewer
- GBA BIOS: Fix misaligned CpuSet
- Libretro: Fix problems with rumble not turning off
Misc:
- Qt: Window size command line options are now supported
- Qt: Increase usability of key mapper

View File

@ -421,6 +421,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) {