From fc151f7595a6ae21fed59c16a66a67ecc2f3c48f Mon Sep 17 00:00:00 2001 From: Aurora Date: Sun, 4 Sep 2016 14:05:29 +0200 Subject: [PATCH] Consistency --- injector/source/patcher.c | 2 +- source/firm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/injector/source/patcher.c b/injector/source/patcher.c index 7292076..40686c5 100644 --- a/injector/source/patcher.c +++ b/injector/source/patcher.c @@ -95,7 +95,7 @@ static void loadCFWInfo(void) svcGetCFWInfo(&info); IFile file; - if(BOOTCFG_SAFEMODE && R_SUCCEEDED(fileOpen(&file, ARCHIVE_SDMC, "/", FS_OPEN_READ))) //Init SD card if SAFE_MODE is being booted + if(BOOTCFG_SAFEMODE != 0 && R_SUCCEEDED(fileOpen(&file, ARCHIVE_SDMC, "/", FS_OPEN_READ))) //Init SD card if SAFE_MODE is being booted IFile_Close(&file); infoLoaded = true; diff --git a/source/firm.c b/source/firm.c index 67bea8b..667e1b0 100755 --- a/source/firm.c +++ b/source/firm.c @@ -244,7 +244,7 @@ static inline u32 loadFirm(FirmwareType *firmType, FirmwareSource firmSource) if(firmSource != FIRMWARE_SYSNAND) error("An old unsupported EmuNAND has been detected.\nLuma3DS is unable to boot it"); - if(BOOTCFG_SAFEMODE) error("SAFE_MODE is not supported on 1.x/2.x FIRM"); + if(BOOTCFG_SAFEMODE != 0) error("SAFE_MODE is not supported on 1.x/2.x FIRM"); *firmType = NATIVE_FIRM1X2X; }