all repos — mgba @ 181c05c7ac8a739cd6d9dea393ac9a30e1898d96

mGBA Game Boy Advance Emulator

GBA Hardware: Fix GBP event scheduling
Vicki Pfau vi@endrift.com
Wed, 01 Feb 2017 09:35:53 -0800
commit

181c05c7ac8a739cd6d9dea393ac9a30e1898d96

parent

6758c97c1e0be4eaff46bbafa9251d96c7d27464

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

jump to
M src/gba/hardware.csrc/gba/hardware.c

@@ -554,6 +554,7 @@ if (gbp->p->p->rumble) {

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;