all repos — mgba @ 5f8548b8dca9a8e8979c1996ed8333e5dc043420

mGBA Game Boy Advance Emulator

GBA Audio: Fix 8-bit writes to audio channel 3 frequency
Jeffrey Pfau jeffrey@endrift.com
Mon, 29 Jun 2015 01:30:59 -0700
commit

5f8548b8dca9a8e8979c1996ed8333e5dc043420

parent

8a0c5b9a1fe04eb027fc8a1d5120044885834d59

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

jump to
M CHANGESCHANGES

@@ -51,6 +51,7 @@ - GBA Memory: Fix load/store multiple video memory waitstates

- GBA: Fix timing of reading from timer registers - Util: Allow loading IPS patches that grow the ROM - GBA Audio: Fix sample order in audio channel 3 + - GBA Audio: Fix 8-bit writes to audio channel 3 frequency Misc: - Qt: Handle saving input settings better - Debugger: Free watchpoints in addition to breakpoints
M src/gba/io.csrc/gba/io.c

@@ -333,7 +333,7 @@ break;

case REG_SOUND3CNT_X: GBAAudioWriteSOUND3CNT_X(&gba->audio, value); // TODO: The low bits need to not be readable, but still 8-bit writable - value &= 0x43FF; + value &= 0x47FF; break; case REG_SOUND4CNT_LO: GBAAudioWriteSOUND4CNT_LO(&gba->audio, value);