diff --git a/src/gba/gba.c b/src/gba/gba.c index 1654f61ea..098da2a70 100644 --- a/src/gba/gba.c +++ b/src/gba/gba.c @@ -14,8 +14,8 @@ const uint32_t GBA_ARM7TDMI_FREQUENCY = 0x1000000; const uint32_t GBA_COMPONENT_MAGIC = 0x1000000; -static const size_t GBA_ROM_MAGIC_OFFSET = 1; -static const uint8_t GBA_ROM_MAGIC[] = { 0x00, 0x00, 0xEA }; +static const size_t GBA_ROM_MAGIC_OFFSET = 2; +static const uint8_t GBA_ROM_MAGIC[] = { 0x00, 0xEA }; enum { SP_BASE_SYSTEM = 0x03FFFF00,