libstrat: make build with new ncm/fs api changes (sysmodules probably fail to build)

This commit is contained in:
Michael Scire authored and SciresM committed 2023-02-22 17:19:51 -08:00
1 parent bb6446aada
commit 0ea5dbcfbb
39 files changed
+389 -190

No files matched your search

@@ -302,7 +302,7 @@ namespace ams::ncm {
this->Finalize();
}
Result Initialize(const char *content_path, bool suppress_fs_auto_abort) {
Result Initialize(const char *content_path, fs::ContentAttributes attr, bool suppress_fs_auto_abort) {
/* Set whether we should suppress fs aborts. */
m_suppress_fs_auto_abort = suppress_fs_auto_abort;
@@ -311,7 +311,7 @@ namespace ams::ncm {
/* Mount the content. */
auto mount_name = impl::CreateUniqueMountName();
R_TRY(impl::MountContentMetaImpl(mount_name.str, content_path));
R_TRY(impl::MountContentMetaImpl(mount_name.str, content_path, attr));
/* Set our mount name. */
m_mount_name.emplace(mount_name.str);