support file based/sd partition emusd

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

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());
}
}
}