ams_mitm: update to use new NcaFileSystemDriver intf

This commit is contained in:
Michael Scire
2022-02-21 14:57:03 -08:00
committed by SciresM
parent e08f754646
commit 2b6719ec25
7 changed files with 82 additions and 10 deletions

View File

@@ -43,7 +43,6 @@ namespace ams {
R_ABORT_UNLESS(pmdmntInitialize());
R_ABORT_UNLESS(pminfoInitialize());
ncm::Initialize();
spl::InitializeForFs();
/* Verify that we can sanely execute. */
ams::CheckApiVersion();
@@ -79,7 +78,7 @@ namespace ams {
}
/* Initialize fssystem library. */
fssystem::InitializeForFileSystemProxy();
fssystem::InitializeForAtmosphereMitm();
/* Configure ncm to use fssystem library to mount content from the sd card. */
ncm::SetMountContentMetaFunction(mitm::sysupdater::MountSdCardContentMeta);