GBA: More multiboot fixes

This commit is contained in:
Jeffrey Pfau 2015-11-04 23:11:35 -08:00
parent 31862db5a5
commit 066ba16864
2 changed files with 3 additions and 2 deletions

View File

@ -27,8 +27,8 @@ const uint32_t GBA_COMPONENT_MAGIC = 0x1000000;
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);

View File

@ -254,6 +254,7 @@ void Window::selectROM() {
#ifdef USE_LZMA
"*.7z",
#endif
"*.mb",
"*.rom",
"*.bin"};
QString filter = tr("Game Boy Advance ROMs (%1)").arg(formats.join(QChar(' ')));