mirror of https://github.com/mgba-emu/mgba.git
GBA: Fix BIOS check on big endian
This commit is contained in:
parent
f155780eba
commit
90ea4cbe33
1
CHANGES
1
CHANGES
|
@ -6,6 +6,7 @@ Bugfixes:
|
||||||
- Qt: Reenable double buffering, as disabling it broke some Windows configs
|
- Qt: Reenable double buffering, as disabling it broke some Windows configs
|
||||||
- GBA Video: Start on the scanline BIOS finishes on if no BIOS is loaded
|
- GBA Video: Start on the scanline BIOS finishes on if no BIOS is loaded
|
||||||
- GBA: Deinit savegame when unloading a ROM
|
- GBA: Deinit savegame when unloading a ROM
|
||||||
|
- GBA: Fix BIOS check on big endian
|
||||||
Misc:
|
Misc:
|
||||||
- Qt: Window size command line options are now supported
|
- Qt: Window size command line options are now supported
|
||||||
- Qt: Increase usability of key mapper
|
- Qt: Increase usability of key mapper
|
||||||
|
|
|
@ -688,7 +688,9 @@ bool GBAIsBIOS(struct VFile* vf) {
|
||||||
}
|
}
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < 7; ++i) {
|
for (i = 0; i < 7; ++i) {
|
||||||
if ((interruptTable[i] & 0xFFFF0000) != 0xEA000000) {
|
uint32_t interrupt;
|
||||||
|
LOAD_32(interrupt, i * sizeof(uint32_t), interruptTable);
|
||||||
|
if ((interrupt & 0xFFFF0000) != 0xEA000000) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue