diff options
author | Liam <byteslice@airmail.cc> | 2024-01-08 06:49:00 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-01-11 17:28:52 +0100 |
commit | aae9eea53208fc0924c90ebb1272fcfaa3f23e0c (patch) | |
tree | 050ccc76dd2fad3c3f81197aa6435674caeac86f /src/core/loader/nro.cpp | |
parent | Merge pull request #12608 from szepeviktor/typos (diff) | |
download | yuzu-aae9eea53208fc0924c90ebb1272fcfaa3f23e0c.tar yuzu-aae9eea53208fc0924c90ebb1272fcfaa3f23e0c.tar.gz yuzu-aae9eea53208fc0924c90ebb1272fcfaa3f23e0c.tar.bz2 yuzu-aae9eea53208fc0924c90ebb1272fcfaa3f23e0c.tar.lz yuzu-aae9eea53208fc0924c90ebb1272fcfaa3f23e0c.tar.xz yuzu-aae9eea53208fc0924c90ebb1272fcfaa3f23e0c.tar.zst yuzu-aae9eea53208fc0924c90ebb1272fcfaa3f23e0c.zip |
Diffstat (limited to '')
-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 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 } 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; |