Step 3: Fix up crypto
This commit is contained in:
1 parent
626cae4e00
commit
c8468a6d73
4 files changed
+5
-6
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user