allow emmc writes (to write warmboot to emusd), allow unaligned emmc writes

This commit is contained in:
Christoph Baumann committed 2025-05-20 23:52:02 +02:00
1 parent b301bba5e7
commit 77a01f0a9b
7 files changed
+12 -14

No files matched your search

+1 -1
View File
@@ -117,7 +117,7 @@ namespace ams::nxboot {
memcpy(path + strlen(path), "/SD/", 5);
path[sizeof(path) - 1] = '\x00';
g_emusd_storage = AllocateObject<fs::MultiFileStorage>(path);
g_emusd_storage = AllocateObject<fs::MultiFileStorage>(path, fs::OpenMode_ReadWrite);
} else {
ShowFatalError("Invalid emuSD config!\n");
}