diff options
author | Liam <byteslice@airmail.cc> | 2024-01-08 00:49:00 -0500 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-01-11 11:28:52 -0500 |
commit | aae9eea53208fc0924c90ebb1272fcfaa3f23e0c (patch) | |
tree | 050ccc76dd2fad3c3f81197aa6435674caeac86f /src/core/loader/nro.cpp | |
parent | 82b58668edcb078896a1184d158a08c58f841dd5 (diff) |
fsp-srv: use program registry for SetCurrentProcess
Diffstat (limited to 'src/core/loader/nro.cpp')
-rw-r--r-- | src/core/loader/nro.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/loader/nro.cpp b/src/core/loader/nro.cpp index e74697cda9..83371fcbd9 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 } if (romfs != nullptr) { - system.GetFileSystemController().RegisterRomFS(std::make_unique<FileSys::RomFSFactory>( - *this, system.GetContentProvider(), system.GetFileSystemController())); + system.GetFileSystemController().RegisterProcess( + process.GetProcessId(), {}, + std::make_unique<FileSys::RomFSFactory>(*this, system.GetContentProvider(), + system.GetFileSystemController())); } is_loaded = true; |