mirror of https://github.com/mgba-emu/mgba.git
GBA: Fix savestate loading of DISPSTAT and WAITCNT registers
This commit is contained in:
parent
0cdb26df54
commit
d983f31b38
1
CHANGES
1
CHANGES
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue