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
@@ -191,7 +191,7 @@ namespace ams::nxboot {
/* Create partition */
/* TODO: construct boot0 storage from path instead */
g_boot0_storage = AllocateObject<fs::FileHandleStorage>(boot0_file);
g_user_storage = AllocateObject<EmummcFileStorage>(path);
g_user_storage = AllocateObject<EmummcFileStorage>(path, fs::OpenMode_Read);
} else {
ShowFatalError("Unknown emummc type %d\n", static_cast<int>(emummc_cfg.base_cfg.type));
}