summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-10-25 16:05:45 +0200
committerLiam <byteslice@airmail.cc>2023-10-25 16:05:45 +0200
commit19e9bde9e069f841387b8d7cbb4b9074d5f30c21 (patch)
treeb8d1071f7f8a56d71ccb409b218e55339bf7df48
parentkernel: fix extraneous ref (diff)
downloadyuzu-19e9bde9e069f841387b8d7cbb4b9074d5f30c21.tar
yuzu-19e9bde9e069f841387b8d7cbb4b9074d5f30c21.tar.gz
yuzu-19e9bde9e069f841387b8d7cbb4b9074d5f30c21.tar.bz2
yuzu-19e9bde9e069f841387b8d7cbb4b9074d5f30c21.tar.lz
yuzu-19e9bde9e069f841387b8d7cbb4b9074d5f30c21.tar.xz
yuzu-19e9bde9e069f841387b8d7cbb4b9074d5f30c21.tar.zst
yuzu-19e9bde9e069f841387b8d7cbb4b9074d5f30c21.zip
-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 934177b85..14d6c8c27 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -312,6 +312,7 @@ struct System::Impl {
// Create the process.
auto main_process = Kernel::KProcess::Create(system.Kernel());
Kernel::KProcess::Register(system.Kernel(), main_process);
+ kernel.AppendNewProcess(main_process);
kernel.MakeApplicationProcess(main_process);
const auto [load_result, load_parameters] = app_loader->Load(*main_process, system);
if (load_result != Loader::ResultStatus::Success) {