From 4c93d2b1f943cf21f1181675964695e9d3c690f0 Mon Sep 17 00:00:00 2001 From: Aurora Date: Sun, 28 Aug 2016 02:49:53 +0200 Subject: [PATCH] Better to put this here --- source/firm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/firm.c b/source/firm.c index 9c0233c..91203ed 100755 --- a/source/firm.c +++ b/source/firm.c @@ -221,7 +221,6 @@ void main(void) patchNativeFirm(firmVersion, nandType, emuHeader, isA9lh); break; case SAFE_FIRM: - if(!isFirmlaunch && BOOTCONFIG(5, 1)) error("SAFE_MODE is not supported on 2.x FIRM!"); patchSafeFirm(); break; default: @@ -248,6 +247,8 @@ static inline u32 loadFirm(FirmwareType *firmType, FirmwareSource firmSource) if(firmSource != FIRMWARE_SYSNAND || firmVersion < 9) error("An old unsupported NAND has been detected.\nLuma3DS is unable to boot it"); + if(BOOTCONFIG(5, 1)) error("SAFE_MODE is not supported on 2.x FIRM!"); + *firmType = SAFE_FIRM; }