From 181c05c7ac8a739cd6d9dea393ac9a30e1898d96 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Wed, 1 Feb 2017 09:35:53 -0800 Subject: [PATCH] GBA Hardware: Fix GBP event scheduling --- src/gba/hardware.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gba/hardware.c b/src/gba/hardware.c index 5c9032de4..2027b949d 100644 --- a/src/gba/hardware.c +++ b/src/gba/hardware.c @@ -554,6 +554,7 @@ uint16_t _gbpSioWriteRegister(struct GBASIODriver* driver, uint32_t address, uin gbp->p->p->rumble->setRumble(gbp->p->p->rumble, (rx & mask) == 0x22); } } + mTimingDeschedule(&gbp->p->p->timing, &gbp->p->gbpNextEvent); mTimingSchedule(&gbp->p->p->timing, &gbp->p->gbpNextEvent, 2048); } value &= 0x78FB;