all repos — mgba @ 770953a2169f84612aac7491c813662c33b72862

mGBA Game Boy Advance Emulator

GBA: Fix SOUNDCNT_X masking
Jeffrey Pfau jeffrey@endrift.com
Wed, 11 Nov 2015 20:58:04 -0800
commit

770953a2169f84612aac7491c813662c33b72862

parent

d786077960771573a4782998308cf20d0b8da7b6

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

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

@@ -393,7 +393,7 @@ value &= 0x770F;

break; case REG_SOUNDCNT_X: GBAAudioWriteSOUNDCNT_X(&gba->audio, value); - value &= 0x00F0; + value &= 0x0080; value |= gba->memory.io[REG_SOUNDCNT_X >> 1] & 0xF; break; case REG_SOUNDBIAS: