Fixed CTRNAND writing leaving encrypted data (thanks to d0k3), added path.txt support for CTRNAND, have the firmlaunch patch panic if both payloads cannot be found

This commit is contained in:
Aurora
2016-10-11 16:52:51 +02:00
parent fde2c371ef
commit 615e5dfaa7
12 changed files with 45 additions and 22 deletions

View File

@@ -88,7 +88,7 @@ DRESULT disk_write (
)
{
return ((pdrv == SDCARD && !sdmmc_sdcard_writesectors(sector, count, (BYTE *)buff)) ||
(pdrv == CTRNAND && !ctrNandWrite(sector, count, (BYTE *)buff))) ? RES_OK : RES_PARERR;
(pdrv == CTRNAND && !ctrNandWrite(sector, count, buff))) ? RES_OK : RES_PARERR;
}
#endif