all repos — mgba @ 28dff01b833bbe0fddaa20a0e94983981f083c01

mGBA Game Boy Advance Emulator

Libretro: Fix problems with rumble not turning off
Jeffrey Pfau jeffrey@endrift.com
Thu, 05 Nov 2015 21:06:31 -0800
commit

28dff01b833bbe0fddaa20a0e94983981f083c01

parent

ac02bd4dbb7de277ccf5f5efe1ceaa61462ec210

2 files changed, 2 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -16,6 +16,7 @@ - Qt: Fix font size in memory viewer

- 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
M src/platform/libretro/libretro.csrc/platform/libretro/libretro.c

@@ -421,6 +421,7 @@ rumbleLevel -= oldLevel;

} 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) {