From 7796c0478aa0ede731deacecffa4242045dcbabf Mon Sep 17 00:00:00 2001 From: jimzrt Date: Sun, 5 Jan 2020 19:53:46 +0100 Subject: [PATCH] bugfix: write to emummc instead of sdmmc --- source/storage/nx_emmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/storage/nx_emmc.c b/source/storage/nx_emmc.c index c35177e..6df300c 100644 --- a/source/storage/nx_emmc.c +++ b/source/storage/nx_emmc.c @@ -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); }