This always fails

This commit is contained in:
Aurora Wright 2017-04-28 12:43:56 +02:00
parent c087edf2ba
commit 89dfdac7bf

View File

@ -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;
}