diff --git a/stratosphere/ams_mitm/source/amsmitm_initialization.cpp b/stratosphere/ams_mitm/source/amsmitm_initialization.cpp index 722c0e630..c2b1a517c 100644 --- a/stratosphere/ams_mitm/source/amsmitm_initialization.cpp +++ b/stratosphere/ams_mitm/source/amsmitm_initialization.cpp @@ -65,6 +65,7 @@ namespace ams::mitm { FsFile g_emummc_file; /* Maintain exclusive access to the fusee-secondary archive. */ + FsFile g_stratosphere_file; FsFile g_secondary_file; FsFile g_sept_payload_file; @@ -140,6 +141,7 @@ namespace ams::mitm { /* zip, and encourages good updating hygiene -- atmosphere should not be updated on SD while HOS is alive. */ { R_ABORT_UNLESS(mitm::fs::OpenSdFile(std::addressof(g_secondary_file), "/atmosphere/fusee-secondary.bin", ams::fs::OpenMode_Read)); + R_ABORT_UNLESS(mitm::fs::OpenSdFile(std::addressof(g_stratosphere_file), "/atmosphere/stratosphere.romfs", ams::fs::OpenMode_Read)); R_ABORT_UNLESS(mitm::fs::OpenSdFile(std::addressof(g_sept_payload_file), "/sept/payload.bin", ams::fs::OpenMode_Read)); } }