all repos — mgba @ 066ba16864236e943fa1eedf61252b5595c5de42

mGBA Game Boy Advance Emulator

GBA: More multiboot fixes
Jeffrey Pfau jeffrey@endrift.com
Wed, 04 Nov 2015 23:11:35 -0800
commit

066ba16864236e943fa1eedf61252b5595c5de42

parent

31862db5a5ce03443b167053dee051664455543c

2 files changed, 3 insertions(+), 2 deletions(-)

jump to
M src/gba/gba.csrc/gba/gba.c

@@ -27,8 +27,8 @@

static const size_t GBA_ROM_MAGIC_OFFSET = 3; static const uint8_t GBA_ROM_MAGIC[] = { 0xEA }; -static const size_t GBA_MB_MAGIC_OFFSET = 0xC0; -static const uint8_t GBA_MB_MAGIC[] = { 0x07, 0x00, 0x00, 0xEA }; +static const size_t GBA_MB_MAGIC_OFFSET = 0xC1; +static const uint8_t GBA_MB_MAGIC[] = { 0x00, 0x00, 0xEA }; static void GBAInit(struct ARMCore* cpu, struct ARMComponent* component); static void GBAInterruptHandlerInit(struct ARMInterruptHandler* irqh);
M src/platform/qt/Window.cppsrc/platform/qt/Window.cpp

@@ -254,6 +254,7 @@ #endif

#ifdef USE_LZMA "*.7z", #endif + "*.mb", "*.rom", "*.bin"}; QString filter = tr("Game Boy Advance ROMs (%1)").arg(formats.join(QChar(' ')));