Fix injector derp

This commit is contained in:
Aurora Wright 2017-04-14 17:42:17 +02:00
parent 1026bc7b4f
commit f18633f65f

View File

@ -63,7 +63,7 @@ static bool openLumaFile(IFile *file, const char *path)
{ {
Result res = fileOpen(file, ARCHIVE_SDMC, path, FS_OPEN_READ); Result res = fileOpen(file, ARCHIVE_SDMC, path, FS_OPEN_READ);
if(R_SUCCEEDED(res)) return false; if(R_SUCCEEDED(res)) return true;
//Returned if SD is not mounted //Returned if SD is not mounted
return (u32)res == 0xC88044AB && R_SUCCEEDED(fileOpen(file, ARCHIVE_NAND_RW, path, FS_OPEN_READ)); return (u32)res == 0xC88044AB && R_SUCCEEDED(fileOpen(file, ARCHIVE_NAND_RW, path, FS_OPEN_READ));