ams: distribute sysmodules in single file as stratosphere.romfs

This commit is contained in:
Michael Scire authored and SciresM committed 2021-03-21 13:16:30 -07:00
1 parent 3afd9a737c
commit 79e4c82d7e
3 files changed
+118 -25

No files matched your search

@@ -38,6 +38,9 @@ namespace ams::ncm {
auto partition_file_system = std::make_unique<fssystem::PartitionFileSystem>();
R_UNLESS(partition_file_system != nullptr, ncm::ResultAllocationFailed());
/* Initialize the partition file system. */
R_TRY(partition_file_system->Initialize(std::addressof(this->storage)));
/* Create a mount name and register the file system. */
auto mount_name = impl::CreateUniqueMountName();
R_TRY(fs::fsa::Register(mount_name.str, std::move(partition_file_system)));