mirror of https://github.com/mgba-emu/mgba.git
GBA Audio: Fix 8-bit writes to audio channel 3 frequency
This commit is contained in:
parent
8a0c5b9a1f
commit
5f8548b8dc
1
CHANGES
1
CHANGES
|
@ -51,6 +51,7 @@ Bugfixes:
|
|||
- 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
|
||||
|
|
|
@ -333,7 +333,7 @@ void GBAIOWrite(struct GBA* gba, uint32_t address, uint16_t value) {
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue