From 1b5c87ab6aff8c53e4c27e916b282cce8073f118 Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 29 Apr 2023 21:16:09 -0400 Subject: kernel: match calls to Register and Unregister --- src/core/hle/service/kernel_helpers.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/core/hle/service/kernel_helpers.cpp') diff --git a/src/core/hle/service/kernel_helpers.cpp b/src/core/hle/service/kernel_helpers.cpp index a39ce5212..6a313a03b 100644 --- a/src/core/hle/service/kernel_helpers.cpp +++ b/src/core/hle/service/kernel_helpers.cpp @@ -25,6 +25,9 @@ ServiceContext::ServiceContext(Core::System& system_, std::string name_) Kernel::KProcess::ProcessType::KernelInternal, kernel.GetSystemResourceLimit()) .IsSuccess()); + + // Register the process. + Kernel::KProcess::Register(kernel, process); process_created = true; } -- cgit v1.2.3