diff --git a/source/firm.c b/source/firm.c index 301839fba..14fa54c5f 100755 --- a/source/firm.c +++ b/source/firm.c @@ -43,7 +43,9 @@ static const firmSectionHeader *section; u32 config, emuOffset; -bool isN3DS, isDevUnit, isFirmlaunch; +bool isN3DS, + isDevUnit, + isFirmlaunch; FirmwareSource firmSource; @@ -253,6 +255,11 @@ static inline u32 loadFirm(FirmwareType firmType) if(!isN3DS && firmType == NATIVE_FIRM && firmVersion < 0x25) { + //We can't boot < 3.x NANDs + 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, load one from SD if(!fileRead(firm, "/luma/firmware.bin") || (((u32)section[2].address >> 8) & 0xFF) != 0x68) error("An old unsupported FIRM has been detected.\nCopy firmware.bin in /luma to boot");