all repos — mgba @ 4c9c03eabefd4aa39fec3cd07408f23f21cb4b76

mGBA Game Boy Advance Emulator

GB Video: Fix LYC regression
Vicki Pfau vi@endrift.com
Tue, 04 Jul 2017 02:17:56 -0700
commit

4c9c03eabefd4aa39fec3cd07408f23f21cb4b76

parent

ee60736b01d4b7bf5a7017d858ed3d7b9e89d654

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

jump to
M CHANGESCHANGES

@@ -156,6 +156,7 @@ - Qt: Fix window icon being stretched

- Qt: Fix initial window size (fixes mgba.io/i/766) - Qt: Fix data directory path - Qt: Fix controls not saving on non-SDL builds + - GB Video: Fix LYC regression Misc: - Qt: Add language selector - GBA Timer: Improve accuracy of timers
M src/gb/video.csrc/gb/video.c

@@ -386,6 +386,7 @@ if (!_statIRQAsserted(video, oldStat) && _statIRQAsserted(video, video->stat)) {

video->p->memory.io[REG_IF] |= (1 << GB_IRQ_LCDSTAT); GBUpdateIRQs(video->p); } + video->p->memory.io[REG_STAT] = video->stat; } void GBVideoWritePalette(struct GBVideo* video, uint16_t address, uint8_t value) {