diff --git a/src/gba/gba-bios.c b/src/gba/gba-bios.c index a0dcdbb7a..df1de54ce 100644 --- a/src/gba/gba-bios.c +++ b/src/gba/gba-bios.c @@ -58,5 +58,5 @@ void GBASwi16(struct ARMBoard* board, int immediate) { } void GBASwi32(struct ARMBoard* board, int immediate) { - GBASwi32(board, immediate >> 8); + GBASwi32(board, immediate >> 16); }