From dca612ffd76a5380af3d8c1601b3e24a3e5069ae Mon Sep 17 00:00:00 2001 From: TuxSH Date: Sat, 27 Aug 2016 13:13:43 +0200 Subject: [PATCH] Update firm.c --- source/firm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/firm.c b/source/firm.c index 63c1ecb..95e0c52 100755 --- a/source/firm.c +++ b/source/firm.c @@ -273,13 +273,13 @@ static inline u32 loadFirm(FirmwareType firmType) if(firmType == NATIVE_FIRM && !isN3DS) { + //We can't boot < 3.x NANDs (if firmware.bin is in the /luma folder, booting will fail) + if(firmVersion < 0x18) + error("An old unsupported NAND has been detected.\nLuma3DS is unable to boot it."); + //We can't boot a 4.x NATIVE_FIRM if(firmVersion < 0x25) error("An old unsupported FIRM has been detected.\nCopy firmware.bin in /luma to boot"); - - //We can't boot < 3.x NANDs (if firmware.bin is in the /luma folder, booting will fail) - else if(firmVersion < 0x18) - error("An old unsupported NAND has been detected.\nLuma3DS is unable to boot it."); } decryptExeFs((u8 *)firm); }