Add emummc support

This commit is contained in:
Such Meme, Many Skill
2020-01-27 23:51:59 +01:00
parent 1410fa185f
commit 9885308bce
9 changed files with 98 additions and 58 deletions

View File

@@ -74,5 +74,5 @@ int nx_emmc_part_write(sdmmc_storage_t *storage, emmc_part_t *part, u32 sector_o
// The last LBA is inclusive.
if (part->lba_start + sector_off > part->lba_end)
return 0;
return sdmmc_storage_write(storage, part->lba_start + sector_off, num_sectors, buf);
return emummc_storage_write(storage, part->lba_start + sector_off, num_sectors, buf);
}