mirror of https://github.com/mgba-emu/mgba.git
Libretro: Fix problems with rumble not turning off
This commit is contained in:
parent
de557fcbdd
commit
51c79d0cf0
1
CHANGES
1
CHANGES
|
@ -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
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue