summaryrefslogtreecommitdiff
path: root/src/core/loader/nca.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-09-16 18:29:24 -0400
committerLioncash <mathew1800@gmail.com>2020-09-16 19:15:19 -0400
commita62c1999c520f88513d9b0cf6e3a5c3a548d51ac (patch)
tree988f711352f4ec0bd56bd4a517a8b2b628fcb9f9 /src/core/loader/nca.cpp
parent0e80567bef380843f5fc9bc00b70f14c4bd577b1 (diff)
file_sys/romfs_factory: Eliminate usage of the global system accessor
Diffstat (limited to 'src/core/loader/nca.cpp')
-rw-r--r--src/core/loader/nca.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/loader/nca.cpp b/src/core/loader/nca.cpp
index 50d7a0f32..fa694de37 100644
--- a/src/core/loader/nca.cpp
+++ b/src/core/loader/nca.cpp
@@ -58,8 +58,8 @@ AppLoader_NCA::LoadResult AppLoader_NCA::Load(Kernel::Process& process, Core::Sy
}
if (nca->GetRomFS() != nullptr && nca->GetRomFS()->GetSize() > 0) {
- system.GetFileSystemController().RegisterRomFS(
- std::make_unique<FileSys::RomFSFactory>(*this));
+ system.GetFileSystemController().RegisterRomFS(std::make_unique<FileSys::RomFSFactory>(
+ *this, system.GetContentProvider(), system.GetFileSystemController()));
}
is_loaded = true;