GBA: Fix savestate loading of DISPSTAT and WAITCNT registers

This commit is contained in:
Jeffrey Pfau 2015-02-18 02:37:21 -08:00
parent 0cdb26df54
commit d983f31b38
2 changed files with 3 additions and 2 deletions

View File

@ -38,6 +38,7 @@ Bugfixes:
- GBA BIOS: Prevent CpuSet and CpuFastSet from using BIOS addresses as a source (fixes #184)
- GBA RR: Fix fallthrough error when reading tags from a movie
- GBA Thread: Fix possible deadlock in video sync
- GBA: Fix savestate loading of DISPSTAT and WAITCNT registers
Misc:
- GBA Audio: Change internal audio sample buffer from 32-bit to 16-bit samples
- GBA Memory: Simplify memory API and use fixed bus width

View File

@ -241,7 +241,7 @@ static const int _isValidRegister[REG_MAX >> 1] = {
static const int _isSpecialRegister[REG_MAX >> 1] = {
// Video
0, 0, 0, 1, 0, 0, 0, 0,
0, 0, 1, 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,
@ -278,7 +278,7 @@ static const int _isSpecialRegister[REG_MAX >> 1] = {
0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0,
// Interrupts
1, 1, 1, 0, 1
1, 1, 0, 0, 1
};
void GBAIOInit(struct GBA* gba) {