all repos — mgba @ 51c79d0cf0f8f1b47e5e94a73eab3c8b67a9584d

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

51c79d0cf0f8f1b47e5e94a73eab3c8b67a9584d

parent

de557fcbddc6736dd9234d0494fd896b0927a57d

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

jump to
M CHANGESCHANGES

@@ -7,6 +7,7 @@ - Qt: Fix clear button/analog buttons in gamepad mapper on some platforms

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

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