all repos — mgba @ 267074fcd975527cc068f3b1334050344257e3d2

mGBA Game Boy Advance Emulator

GB I/O: Filter IE top bits properly (fixes #1329)
Vicki Pfau vi@endrift.com
Sun, 03 Mar 2019 17:56:33 -0800
commit

267074fcd975527cc068f3b1334050344257e3d2

parent

a3c79c92d78c5802d0608639bc4feb87d2faa1d2

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

jump to
M CHANGESCHANGES

@@ -9,6 +9,7 @@ - GBA: Reset now reloads multiboot ROMs

- GBA BIOS: Fix multiboot entry point (fixes Magic Floor) - GB Video: Delay LYC STAT check (fixes mgba.io/i/1331) - GB Video: Fix window being enabled mid-scanline (fixes mgba.io/i/1328) + - GB I/O: Filter IE top bits properly (fixes mgba.io/i/1329) Other fixes: - Qt: More app metadata fixes - Qt: Fix load recent from archive (fixes mgba.io/i/1325)
M src/gb/io.csrc/gb/io.c

@@ -465,7 +465,7 @@ GBVideoDisableCGB(&gb->video);

} break; case REG_IE: - gb->memory.ie = value; + gb->memory.ie = value & 0x1F; GBUpdateIRQs(gb); return; default:

@@ -578,7 +578,7 @@ switch (address) {

case REG_JOYP: return _readKeysFiltered(gb); case REG_IE: - return gb->memory.ie; + return gb->memory.ie | 0xE0; case REG_WAVE_0: case REG_WAVE_1: case REG_WAVE_2: