Step 3: Fix up crypto

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

No files matched your search

+2 -2
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;