GBA I/O: Handle audio registers specially when deserializing

This commit is contained in:
Vicki Pfau 2017-02-04 18:30:50 -08:00
parent 0cf9051d2a
commit 5d48520605
2 changed files with 6 additions and 5 deletions

View File

@ -10,6 +10,7 @@ Bugfixes:
- Util: Fix overflow when loading invalid UPS patches
- GB: Fix crash when patching ROMs
- Tools: Fix recurring multiple times over the same library
- GBA I/O: Handle audio registers specially when deserializing
Misc:
- Qt: Improved HiDPI support
- Feature: Support ImageMagick 7

View File

@ -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,
// Audio
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0, 1, 0,
0, 0, 1, 0, 0, 0, 1, 0,
0, 0, 0, 0, 1, 0, 0, 0,
1, 1, 1, 1, 1, 1, 1, 1,
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,
// Audio
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0, 0, 0,
1, 1, 1, 0, 1, 0, 1, 0,
1, 1, 1, 0, 1, 0, 1, 0,
1, 0, 1, 0, 0, 0, 0, 0,
1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 0, 0, 0, 0,
// DMA