1
0
Fork 0
mirror of https://github.com/Scandal-UK/Incognito_RCM.git synced 2024-09-19 13:43:24 +01:00

bugfix: write to emummc instead of sdmmc

This commit is contained in:
jimzrt 2020-01-05 19:53:46 +01:00
parent 6de9aa1084
commit 7796c0478a

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. // The last LBA is inclusive.
if (part->lba_start + sector_off > part->lba_end) if (part->lba_start + sector_off > part->lba_end)
return 0; 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);
} }