From be6ee894f9a30d04afb6153d21c1a1b3eeb5b61e Mon Sep 17 00:00:00 2001 From: Aurora Date: Mon, 18 Jul 2016 17:28:04 +0200 Subject: [PATCH] Fix firmware.bin loading --- source/firm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/firm.c b/source/firm.c index 953fcce..0464bc1 100755 --- a/source/firm.c +++ b/source/firm.c @@ -252,7 +252,7 @@ static inline u32 loadFirm(FirmwareType firmType) 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; } else decryptExeFs((u8 *)firm);