mirror of https://github.com/mgba-emu/mgba.git
GBA I/O: Handle audio registers specially when deserializing
This commit is contained in:
parent
0cf9051d2a
commit
5d48520605
1
CHANGES
1
CHANGES
|
@ -10,6 +10,7 @@ Bugfixes:
|
||||||
- Util: Fix overflow when loading invalid UPS patches
|
- Util: Fix overflow when loading invalid UPS patches
|
||||||
- GB: Fix crash when patching ROMs
|
- GB: Fix crash when patching ROMs
|
||||||
- Tools: Fix recurring multiple times over the same library
|
- Tools: Fix recurring multiple times over the same library
|
||||||
|
- GBA I/O: Handle audio registers specially when deserializing
|
||||||
Misc:
|
Misc:
|
||||||
- Qt: Improved HiDPI support
|
- Qt: Improved HiDPI support
|
||||||
- Feature: Support ImageMagick 7
|
- Feature: Support ImageMagick 7
|
||||||
|
|
10
src/gba/io.c
10
src/gba/io.c
|
@ -250,8 +250,8 @@ static const int _isRSpecialRegister[REG_MAX >> 1] = {
|
||||||
1, 1, 1, 1, 1, 1, 1, 1,
|
1, 1, 1, 1, 1, 1, 1, 1,
|
||||||
1, 1, 1, 1, 1, 1, 1, 1,
|
1, 1, 1, 1, 1, 1, 1, 1,
|
||||||
// Audio
|
// Audio
|
||||||
0, 0, 0, 0, 0, 0, 0, 0,
|
0, 0, 1, 0, 0, 0, 1, 0,
|
||||||
0, 0, 0, 0, 0, 0, 0, 0,
|
0, 0, 1, 0, 0, 0, 1, 0,
|
||||||
0, 0, 0, 0, 1, 0, 0, 0,
|
0, 0, 0, 0, 1, 0, 0, 0,
|
||||||
1, 1, 1, 1, 1, 1, 1, 1,
|
1, 1, 1, 1, 1, 1, 1, 1,
|
||||||
1, 1, 1, 1, 0, 0, 0, 0,
|
1, 1, 1, 1, 0, 0, 0, 0,
|
||||||
|
@ -291,9 +291,9 @@ static const int _isWSpecialRegister[REG_MAX >> 1] = {
|
||||||
0, 0, 0, 0, 0, 0, 0, 0,
|
0, 0, 0, 0, 0, 0, 0, 0,
|
||||||
0, 0, 0, 0, 0, 0, 0, 0,
|
0, 0, 0, 0, 0, 0, 0, 0,
|
||||||
// Audio
|
// Audio
|
||||||
0, 0, 0, 0, 0, 0, 0, 0,
|
1, 1, 1, 0, 1, 0, 1, 0,
|
||||||
0, 0, 0, 0, 0, 0, 0, 0,
|
1, 1, 1, 0, 1, 0, 1, 0,
|
||||||
0, 0, 1, 0, 0, 0, 0, 0,
|
1, 0, 1, 0, 0, 0, 0, 0,
|
||||||
1, 1, 1, 1, 1, 1, 1, 1,
|
1, 1, 1, 1, 1, 1, 1, 1,
|
||||||
1, 1, 1, 1, 0, 0, 0, 0,
|
1, 1, 1, 1, 0, 0, 0, 0,
|
||||||
// DMA
|
// DMA
|
||||||
|
|
Loading…
Reference in New Issue