From e444b587cfe14253de36d4fe6b6df1c7ed1d9f1a Mon Sep 17 00:00:00 2001 From: Aurora Date: Mon, 19 Sep 2016 17:07:56 +0200 Subject: [PATCH] Fix derp --- source/firm.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/firm.c b/source/firm.c index e071f97..1d046d8 100755 --- a/source/firm.c +++ b/source/firm.c @@ -322,7 +322,10 @@ static inline u32 loadFirm(FirmwareType *firmType, FirmwareSource firmSource, bo //Check that the SD FIRM is right for the console from the ARM9 section address if((section[3].offset ? section[3].address : section[2].address) != (isN3DS ? (u8 *)0x8006000 : (u8 *)0x8006800)) - error("The firmware.bin in /luma is not valid for your\nconsole, or corrupted"); + { + if(isFirmlaunch) mcuReboot(); + error("The firmware.bin in /luma is not valid for your\nconsole, or corrupted"); + } firmVersion = 0xFFFFFFFF; }