From 89dfdac7bf7d883a82b737520f4725a424e59b21 Mon Sep 17 00:00:00 2001 From: Aurora Wright Date: Fri, 28 Apr 2017 12:43:56 +0200 Subject: [PATCH] This always fails --- injector/source/patcher.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/injector/source/patcher.c b/injector/source/patcher.c index c07b7e4..6706a88 100644 --- a/injector/source/patcher.c +++ b/injector/source/patcher.c @@ -87,8 +87,7 @@ static inline void loadCFWInfo(void) svcGetCFWInfo(&info); IFile file; - if(LOADERFLAG(ISSAFEMODE) && R_SUCCEEDED(fileOpen(&file, ARCHIVE_SDMC, "/", FS_OPEN_READ))) //Init SD card if SAFE_MODE is being booted - IFile_Close(&file); + if(LOADERFLAG(ISSAFEMODE)) fileOpen(&file, ARCHIVE_SDMC, "/", FS_OPEN_READ); //Init SD card if SAFE_MODE is being booted infoLoaded = true; }