all repos — mgba @ f252436d0aa4b09a9d64c0eed869c9840d8541d4

mGBA Game Boy Advance Emulator

GB Video: Fix potential hang when ending mode 0
Vicki Pfau vi@endrift.com
Sat, 12 Aug 2017 13:58:35 -0700
commit

f252436d0aa4b09a9d64c0eed869c9840d8541d4

parent

3227d74e4d434d497673e5a77589b674e811c969

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

jump to
M CHANGESCHANGES

@@ -30,6 +30,7 @@ - GB, GBA Savedata: Fix savestate-related save overwriting (fixes mgba.io/i/834)

- Qt: Fix timezone issues with time overrides - Qt: Fix sprite export pausing game indefinitely (fixes mgba.io/i/841) - ARM: Fix MSR when T bit is set + - GB Video: Fix potential hang when ending mode 0 Misc: - GBA Timer: Use global cycles for timers - GBA: Extend oddly-sized ROMs to full address space (fixes mgba.io/i/722)
M src/gb/video.csrc/gb/video.c

@@ -227,6 +227,7 @@ next = GB_VIDEO_HORIZONTAL_LENGTH;

video->mode = 1; video->modeEvent.callback = _endMode1; + mTimingDeschedule(&video->p->timing, &video->frameEvent); mTimingSchedule(&video->p->timing, &video->frameEvent, -cyclesLate); if (!_statIRQAsserted(video, oldStat) && GBRegisterSTATIsOAMIRQ(video->stat)) {