Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

Commit

Permalink
bugfix: write to emummc instead of sdmmc
Browse files Browse the repository at this point in the history
  • Loading branch information
jimzrt committed Jan 5, 2020
1 parent 6de9aa1 commit 7796c04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/storage/nx_emmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 7796c04

Please sign in to comment.