Update firm.c
This commit is contained in:
parent
5177308d48
commit
dca612ffd7
@ -273,13 +273,13 @@ static inline u32 loadFirm(FirmwareType firmType)
|
|||||||
|
|
||||||
if(firmType == NATIVE_FIRM && !isN3DS)
|
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
|
//We can't boot a 4.x NATIVE_FIRM
|
||||||
if(firmVersion < 0x25)
|
if(firmVersion < 0x25)
|
||||||
error("An old unsupported FIRM has been detected.\nCopy firmware.bin in /luma to boot");
|
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);
|
decryptExeFs((u8 *)firm);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user