GBA: Fix warnings when creating and loading savestates

This commit is contained in:
Jeffrey Pfau 2015-11-11 19:45:36 -08:00
parent ff4950c50d
commit a2bc814d9c
2 changed files with 3 additions and 2 deletions

View File

@ -24,6 +24,7 @@ Bugfixes:
- GBA Memory: Fix alignment of LDM/STM on SRAM
- GBA: Initialize uninitialized pristineRom and pristineRomSize members
- GBA Memory: Fix unaligned out-of-bounds ROM loads
- GBA: Fix warnings when creating and loading savestates
Misc:
- Qt: Window size command line options are now supported
- Qt: Increase usability of key mapper

View File

@ -210,7 +210,7 @@ static const int _isValidRegister[REG_MAX >> 1] = {
1, 1, 1, 0, 1, 0, 1, 0,
1, 1, 1, 0, 1, 0, 0, 0,
1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 0, 0, 0,
1, 1, 1, 1, 0, 0, 0, 0,
// DMA
1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 1, 1, 1, 1,
@ -250,7 +250,7 @@ static const int _isRSpecialRegister[REG_MAX >> 1] = {
// Audio
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, 1, 0, 0, 0,
1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 1, 1, 0, 0, 0, 0,
// DMA