Support for hekate to boot hos with emusd/emmc base emummc

This commit is contained in:
Christoph Baumann committed 2025-05-14 02:24:33 +02:00
1 parent af39c76b3a
commit 154ed594fc
9 files changed
+155 -31

No files matched your search

+14
View File
@@ -250,4 +250,18 @@ int boot_storage_save_to_file(const void *buf, u32 size, const char *filename)
f_close(&fp);
return 0;
}
FATFS *boot_storage_get_fs() {
switch(drive_cur){
case DRIVE_BOOT1:
return &boot_storage_fs;
case DRIVE_EMMC:
return &emmc_fs;
case DRIVE_BOOT1_1MB:
return &boot_storage_fs;
case DRIVE_SD:
return &sd_fs;
}
return NULL;
}