summaryrefslogtreecommitdiffstats
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-05-03 18:07:19 +0200
committerGitHub <noreply@github.com>2023-05-03 18:07:19 +0200
commit737e1ca1018cd5e5be03095cab6206ae6f653136 (patch)
treecde86ea87ab9eb495f47307b5ae58b35608066ee /src/core/core.cpp
parentMerge pull request #10151 from GPUCode/no-softlocks-please (diff)
parentkernel: match calls to Register and Unregister (diff)
downloadyuzu-737e1ca1018cd5e5be03095cab6206ae6f653136.tar
yuzu-737e1ca1018cd5e5be03095cab6206ae6f653136.tar.gz
yuzu-737e1ca1018cd5e5be03095cab6206ae6f653136.tar.bz2
yuzu-737e1ca1018cd5e5be03095cab6206ae6f653136.tar.lz
yuzu-737e1ca1018cd5e5be03095cab6206ae6f653136.tar.xz
yuzu-737e1ca1018cd5e5be03095cab6206ae6f653136.tar.zst
yuzu-737e1ca1018cd5e5be03095cab6206ae6f653136.zip
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index ac0fb7872..06fba4ce5 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -293,6 +293,7 @@ struct System::Impl {
ASSERT(Kernel::KProcess::Initialize(main_process, system, "main",
Kernel::KProcess::ProcessType::Userland, resource_limit)
.IsSuccess());
+ Kernel::KProcess::Register(system.Kernel(), main_process);
kernel.MakeApplicationProcess(main_process);
const auto [load_result, load_parameters] = app_loader->Load(*main_process, system);
if (load_result != Loader::ResultStatus::Success) {