Hardcode 9.6 FIRM version for firmware.bin

This commit is contained in:
Aurora 2016-07-18 17:13:46 +02:00
parent c63e46b1a9
commit e0e8ed2113

View File

@ -253,6 +253,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) == (isN3DS ? 0x60 : 0x68)) mcuReboot();
firmVersion = 0x49;
} }
else decryptExeFs((u8 *)firm); else decryptExeFs((u8 *)firm);