diff options
| author | 2023-10-25 10:05:45 -0400 | |
|---|---|---|
| committer | 2023-10-25 10:05:45 -0400 | |
| commit | 19e9bde9e069f841387b8d7cbb4b9074d5f30c21 (patch) | |
| tree | b8d1071f7f8a56d71ccb409b218e55339bf7df48 /src/core/core.cpp | |
| parent | kernel: fix extraneous ref (diff) | |
| download | yuzu-19e9bde9e069f841387b8d7cbb4b9074d5f30c21.tar.gz yuzu-19e9bde9e069f841387b8d7cbb4b9074d5f30c21.tar.xz yuzu-19e9bde9e069f841387b8d7cbb4b9074d5f30c21.zip | |
kernel: make sure new process is in list
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 1 |
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 { | |||
| 312 | // Create the process. | 312 | // Create the process. |
| 313 | auto main_process = Kernel::KProcess::Create(system.Kernel()); | 313 | auto main_process = Kernel::KProcess::Create(system.Kernel()); |
| 314 | Kernel::KProcess::Register(system.Kernel(), main_process); | 314 | Kernel::KProcess::Register(system.Kernel(), main_process); |
| 315 | kernel.AppendNewProcess(main_process); | ||
| 315 | kernel.MakeApplicationProcess(main_process); | 316 | kernel.MakeApplicationProcess(main_process); |
| 316 | const auto [load_result, load_parameters] = app_loader->Load(*main_process, system); | 317 | const auto [load_result, load_parameters] = app_loader->Load(*main_process, system); |
| 317 | if (load_result != Loader::ResultStatus::Success) { | 318 | if (load_result != Loader::ResultStatus::Success) { |