diff --git a/configure.py b/configure.py index c2eeefa6a..574cba225 100644 --- a/configure.py +++ b/configure.py @@ -729,7 +729,7 @@ config.libs = [ DolphinLib( "gba", [ - Object(NonMatching, "dolphin/gba/GBA.c"), + Object(Matching, "dolphin/gba/GBA.c"), Object(Matching, "dolphin/gba/GBAGetProcessStatus.c"), Object(NonMatching, "dolphin/gba/GBAJoyBoot.c"), Object(Matching, "dolphin/gba/GBARead.c"), diff --git a/include/dolphin/gba/GBAPriv.h b/include/dolphin/gba/GBAPriv.h index 5864df891..b1ba4661f 100644 --- a/include/dolphin/gba/GBAPriv.h +++ b/include/dolphin/gba/GBAPriv.h @@ -23,7 +23,7 @@ typedef struct GBASecParam { u32 keyA; s32 keyB; u8 _padding1[24]; -} GBASecParam; +} GBASecParam __attribute__((aligned(32))); typedef struct GBABootInfo { s32 paletteColor;