fusee_cpp: Add display init/fatal error display logic

This commit is contained in:
Michael Scire 2021-08-23 11:57:39 -07:00 committed by SciresM
parent e7d7d8adfb
commit ee1d1ea527
9 changed files with 6128 additions and 7 deletions

View file

@ -86,13 +86,11 @@ namespace ams::nxboot {
}
Result ReadSdCard(void *dst, size_t size, size_t sector_index, size_t sector_count) {
/* TODO */
return ResultSuccess();
return sdmmc::Read(dst, size, SdCardPort, sector_index, sector_count);
}
Result WriteSdCard(size_t sector_index, size_t sector_count, const void *src, size_t size) {
/* TODO */
return ResultSuccess();
return sdmmc::Write(SdCardPort, sector_index, sector_count, src, size);
}
}