summaryrefslogtreecommitdiff
path: root/src/core/loader/nro.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/loader/nro.cpp')
-rw-r--r--src/core/loader/nro.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/loader/nro.cpp b/src/core/loader/nro.cpp
index e74697cda..83371fcbd 100644
--- a/src/core/loader/nro.cpp
+++ b/src/core/loader/nro.cpp
@@ -276,8 +276,10 @@ AppLoader_NRO::LoadResult AppLoader_NRO::Load(Kernel::KProcess& process, Core::S
276 } 276 }
277 277
278 if (romfs != nullptr) { 278 if (romfs != nullptr) {
279 system.GetFileSystemController().RegisterRomFS(std::make_unique<FileSys::RomFSFactory>( 279 system.GetFileSystemController().RegisterProcess(
280 *this, system.GetContentProvider(), system.GetFileSystemController())); 280 process.GetProcessId(), {},
281 std::make_unique<FileSys::RomFSFactory>(*this, system.GetContentProvider(),
282 system.GetFileSystemController()));
281 } 283 }
282 284
283 is_loaded = true; 285 is_loaded = true;