fusee_cpp: Implement fatal display, reading of fusee-secondary

This commit is contained in:
Michael Scire
2021-08-23 14:18:59 -07:00
committed by SciresM
parent ee1d1ea527
commit 1a8f886a6e
32 changed files with 24337 additions and 48 deletions

View File

@@ -104,13 +104,13 @@ namespace ams::fs {
bool MountSdCard() {
AMS_ASSERT(!g_is_sd_mounted);
g_is_sd_mounted = f_mount(std::addressof(g_sd_fs), "", 1) == FR_OK;
g_is_sd_mounted = f_mount(std::addressof(g_sd_fs), "sdmc", 1) == FR_OK;
return g_is_sd_mounted;
}
void UnmountSdCard() {
AMS_ASSERT(g_is_sd_mounted);
f_unmount("");
f_unmount("sdmc");
g_is_sd_mounted = false;
}