Fix firmware.bin loading

This commit is contained in:
Aurora 2016-07-18 17:28:04 +02:00
parent e0e8ed2113
commit be6ee894f9

View File

@ -252,7 +252,7 @@ static inline u32 loadFirm(FirmwareType firmType)
if(!isN3DS && firmType == NATIVE_FIRM && firmVersion < 0x25) if(!isN3DS && firmType == NATIVE_FIRM && firmVersion < 0x25)
{ {
if(!fileRead(firm, "/luma/firmware.bin") || (((u32)section[2].address >> 8) & 0xFF) == (isN3DS ? 0x60 : 0x68)) mcuReboot(); if(!fileRead(firm, "/luma/firmware.bin") || (((u32)section[2].address >> 8) & 0xFF) != 0x68) mcuReboot();
firmVersion = 0x49; firmVersion = 0x49;
} }
else decryptExeFs((u8 *)firm); else decryptExeFs((u8 *)firm);