file based bis support

This commit is contained in:
Christoph Baumann
2025-05-07 12:17:13 +02:00
parent bbe8ddaf66
commit 39b74dd50d
2 changed files with 116 additions and 9 deletions

View File

@@ -231,6 +231,7 @@ int nx_emmc_bis_read(u32 sector, u32 count, void *buff);
int nx_emmc_bis_write(u32 sector, u32 count, void *buff);
// when storage == NULL, use active emummc config, otherwise, access storage at offset
void nx_emmc_bis_init(emmc_part_t *part, bool enable_cache, sdmmc_storage_t *storage, u32 emummc_offset);
void nx_emmc_bis_init_file_based(emmc_part_t *part, bool enable_cache, const char *base_path);
void nx_emmc_bis_end();
sdmmc_storage_t *nx_emmc_bis_get_storage();