mirror of
https://github.com/libretro/mgba.git
synced 2024-11-27 18:20:33 +00:00
Libretro: Fix problems with rumble not turning off
This commit is contained in:
parent
ac02bd4dbb
commit
28dff01b83
1
CHANGES
1
CHANGES
@ -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
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user