diff --git a/retail/bootloader/source/arm7/find_arm9.c b/retail/bootloader/source/arm7/find_arm9.c index 8da9338cb..ebf527b24 100644 --- a/retail/bootloader/source/arm7/find_arm9.c +++ b/retail/bootloader/source/arm7/find_arm9.c @@ -2032,14 +2032,14 @@ u32* findTwlSleepModeEndOffset(const tNDSHeader* ndsHeader) { if (!offset) { offset = (u32*)findOffsetThumb( - (u32*)ndsHeader->arm9destination, iUncompressedSize,//ndsHeader->arm9binarySize, + (u16*)ndsHeader->arm9destination, iUncompressedSize,//ndsHeader->arm9binarySize, twlSleepModeEndSignatureThumbEarly, 7 ); } if (!offset) { offset = (u32*)findOffsetThumb( - (u32*)ndsHeader->arm9destination, iUncompressedSize,//ndsHeader->arm9binarySize, + (u16*)ndsHeader->arm9destination, iUncompressedSize,//ndsHeader->arm9binarySize, twlSleepModeEndSignatureThumb, 3 ); }