diff options
| author | 2024-01-15 13:51:14 -0500 | |
|---|---|---|
| committer | 2024-01-15 13:51:14 -0500 | |
| commit | a2ffb419c921fdb2321472131e8c4447c3aab36a (patch) | |
| tree | 83965b0a6e58b0bb401f786286d372bfedf6dd1d /src/core/loader/xci.cpp | |
| parent | Merge pull request #12611 from liamwhite/resource-management-is-hard (diff) | |
| parent | loader: fix homebrew nro registration (diff) | |
| download | yuzu-a2ffb419c921fdb2321472131e8c4447c3aab36a.tar.gz yuzu-a2ffb419c921fdb2321472131e8c4447c3aab36a.tar.xz yuzu-a2ffb419c921fdb2321472131e8c4447c3aab36a.zip | |
Merge pull request #12612 from liamwhite/fs-pid
fsp-srv: use program registry for SetCurrentProcess
Diffstat (limited to 'src/core/loader/xci.cpp')
| -rw-r--r-- | src/core/loader/xci.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/loader/xci.cpp b/src/core/loader/xci.cpp index 12d72c380..e9abb199a 100644 --- a/src/core/loader/xci.cpp +++ b/src/core/loader/xci.cpp | |||
| @@ -78,7 +78,8 @@ AppLoader_XCI::LoadResult AppLoader_XCI::Load(Kernel::KProcess& process, Core::S | |||
| 78 | 78 | ||
| 79 | FileSys::VirtualFile update_raw; | 79 | FileSys::VirtualFile update_raw; |
| 80 | if (ReadUpdateRaw(update_raw) == ResultStatus::Success && update_raw != nullptr) { | 80 | if (ReadUpdateRaw(update_raw) == ResultStatus::Success && update_raw != nullptr) { |
| 81 | system.GetFileSystemController().SetPackedUpdate(std::move(update_raw)); | 81 | system.GetFileSystemController().SetPackedUpdate(process.GetProcessId(), |
| 82 | std::move(update_raw)); | ||
| 82 | } | 83 | } |
| 83 | 84 | ||
| 84 | is_loaded = true; | 85 | is_loaded = true; |