support file based/sd partition emusd

This commit is contained in:
Christoph Baumann committed 2025-05-20 20:57:35 +02:00
1 parent 178c833862
commit b301bba5e7
3 files changed
+74 -11

No files matched your search

+2 -2
View File
@@ -75,9 +75,9 @@ namespace ams::nxboot {
/* UnmountBootStorage(); */
FinalizeBootStorage();
InitializeEmuSd(GetEmummcConfig().sd_cfg);
fs::ChangeDrive("emusd:");
Result r = fs::ChangeDrive("emusd:");
if (!fs::MountEmuSD()) {
ShowFatalError("Failed to mount emuSD");
ShowFatalError("Failed to mount emuSD 0x%" PRIx32 "\n", r.GetValue());
}
}
}