fsp-srv: use program registry for SetCurrentProcess

This commit is contained in:
Liam 2024-01-08 00:49:00 -05:00
parent 204f3316f5
commit 2397093e4f
20 changed files with 364 additions and 274 deletions

View file

@ -111,7 +111,8 @@ AppLoader_NSP::LoadResult AppLoader_NSP::Load(Kernel::KProcess& process, Core::S
FileSys::VirtualFile update_raw;
if (ReadUpdateRaw(update_raw) == ResultStatus::Success && update_raw != nullptr) {
system.GetFileSystemController().SetPackedUpdate(std::move(update_raw));
system.GetFileSystemController().SetPackedUpdate(process.GetProcessId(),
std::move(update_raw));
}
is_loaded = true;