all repos — mgba @ 88f8f2451d5ecaeb569bd543e65e73c4d79130fa

mGBA Game Boy Advance Emulator

GBA: Fix BIOS check on big endian
Jeffrey Pfau jeffrey@endrift.com
Mon, 07 Sep 2015 19:24:30 -0700
commit

88f8f2451d5ecaeb569bd543e65e73c4d79130fa

parent

ea5e73e44ace6ccfc39d2d1fa61544dd61882510

2 files changed, 4 insertions(+), 1 deletions(-)

jump to
M CHANGESCHANGES

@@ -6,6 +6,7 @@ - Qt: Fix drag and drop on Windows

- 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: Deinit savegame when unloading a ROM + - GBA: Fix BIOS check on big endian Misc: - Qt: Remove useless help icons in dialogs - GBA: Attempting to save a screenshot-style savestate should be allowed without libpng
M src/gba/gba.csrc/gba/gba.c

@@ -666,7 +666,9 @@ return false;

} int 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; } }