diff options
| author | 2024-01-08 00:49:00 -0500 | |
|---|---|---|
| committer | 2024-01-11 11:28:52 -0500 | |
| commit | aae9eea53208fc0924c90ebb1272fcfaa3f23e0c (patch) | |
| tree | 050ccc76dd2fad3c3f81197aa6435674caeac86f /src/core/loader/nro.cpp | |
| parent | Merge pull request #12608 from szepeviktor/typos (diff) | |
| download | yuzu-aae9eea53208fc0924c90ebb1272fcfaa3f23e0c.tar.gz yuzu-aae9eea53208fc0924c90ebb1272fcfaa3f23e0c.tar.xz yuzu-aae9eea53208fc0924c90ebb1272fcfaa3f23e0c.zip | |
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 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; |