mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-30 22:45:17 -04:00
libstrat: make build with new ncm/fs api changes (sysmodules probably fail to build)
This commit is contained in:
parent
bb6446aada
commit
0ea5dbcfbb
39 changed files with 389 additions and 190 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue