From fde2c371ef488f93fcb7bc540af68b9f5f2f278d Mon Sep 17 00:00:00 2001 From: Aurora Date: Tue, 11 Oct 2016 02:44:17 +0200 Subject: [PATCH] Minor stuff --- source/firm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/firm.c b/source/firm.c index cfa5657..7ea5375 100755 --- a/source/firm.c +++ b/source/firm.c @@ -93,7 +93,7 @@ u32 loadFirm(FirmwareType *firmType, FirmwareSource nandType, bool loadFromStora } //Check that the FIRM is right for the console from the ARM9 section address - if((firm->section[3].offset ? firm->section[3].address : firm->section[2].address) != (ISN3DS ? (u8 *)0x8006000 : (u8 *)0x8006800)) + if((firm->section[3].offset != 0 ? firm->section[3].address : firm->section[2].address) != (ISN3DS ? (u8 *)0x8006000 : (u8 *)0x8006800)) error("The firmware.bin in /luma is not valid for this\nconsole."); firmVersion = 0xFFFFFFFF;