Skip to content

Commit 51d8fbe

Browse files
committed
Fix #2624
1 parent 3630eba commit 51d8fbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

slot1launch/bootloader/source/read_card.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ static void cardDelay (u16 readTimeout) {
142142
}
143143

144144
static void switchToTwlBlowfish(sNDSHeaderExt* ndsHeader) {
145-
if (twlBlowfish || ndsHeader->unitCode == 0) return;
145+
if (twlBlowfish || memcmp(ndsHeader->gameCode, "DSPI", 4) == 0 || ndsHeader->unitCode == 0) return;
146146

147147
// Used for dumping the DSi arm9i/7i binaries
148148

0 commit comments

Comments
 (0)