diff options
| author | Lioncash <mathew1800@gmail.com> | 2020-09-16 18:29:24 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2020-09-16 19:15:19 -0400 |
| commit | 7824da596111c9ecda73d4b340a54d188b468fc3 (patch) | |
| tree | 988f711352f4ec0bd56bd4a517a8b2b628fcb9f9 /src/core/loader/nro.cpp | |
| parent | e45b727db59c0b0ef7f7e36a21b5e2a0d4dc6f57 (diff) | |
file_sys/romfs_factory: Eliminate usage of the global system accessor
Diffstat (limited to 'src/core/loader/nro.cpp')
| -rw-r--r-- | src/core/loader/nro.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/loader/nro.cpp b/src/core/loader/nro.cpp index 5ce279f815..9fb5eddad9 100644 --- a/src/core/loader/nro.cpp +++ b/src/core/loader/nro.cpp @@ -218,8 +218,8 @@ AppLoader_NRO::LoadResult AppLoader_NRO::Load(Kernel::Process& process, Core::Sy } if (romfs != nullptr) { - 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; |
