Added a different error for < 3.x NANDs as they can not be booted currently
This commit is contained in:
parent
356268eae5
commit
c711ed6253
@ -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");
|
||||
|
||||
|
Reference in New Issue
Block a user