Step 3: Fix up crypto

This commit is contained in:
suchmememanyskill
2022-01-22 15:56:31 +01:00
parent 626cae4e00
commit c8468a6d73
4 changed files with 5 additions and 6 deletions

View File

@@ -63,7 +63,7 @@ DRESULT disk_read (
return sdmmc_storage_read(&sd_storage, sector, count, buff) ? RES_OK : RES_ERROR;
case DRIVE_BIS:
return nx_emmc_bis_read(sector, count, buff);
return nx_emmc_bis_read(sector, count, buff) ? RES_OK : RES_ERROR;
}
return RES_ERROR;
@@ -85,7 +85,7 @@ DRESULT disk_write (
return sdmmc_storage_write(&sd_storage, sector, count, (void *)buff) ? RES_OK : RES_ERROR;
case DRIVE_BIS:
return nx_emmc_bis_write(sector, count, (void *)buff);
return nx_emmc_bis_write(sector, count, (void *)buff) ? RES_OK : RES_ERROR;
}
return RES_ERROR;