diff options
| author | 2023-05-03 09:07:19 -0700 | |
|---|---|---|
| committer | 2023-05-03 09:07:19 -0700 | |
| commit | 737e1ca1018cd5e5be03095cab6206ae6f653136 (patch) | |
| tree | cde86ea87ab9eb495f47307b5ae58b35608066ee /src/core/core.cpp | |
| parent | Merge pull request #10151 from GPUCode/no-softlocks-please (diff) | |
| parent | kernel: match calls to Register and Unregister (diff) | |
| download | yuzu-737e1ca1018cd5e5be03095cab6206ae6f653136.tar.gz yuzu-737e1ca1018cd5e5be03095cab6206ae6f653136.tar.xz yuzu-737e1ca1018cd5e5be03095cab6206ae6f653136.zip | |
Merge pull request #10117 from liamwhite/sync-register
kernel: match calls to Register and Unregister
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 ac0fb7872..06fba4ce5 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp | |||
| @@ -293,6 +293,7 @@ struct System::Impl { | |||
| 293 | ASSERT(Kernel::KProcess::Initialize(main_process, system, "main", | 293 | ASSERT(Kernel::KProcess::Initialize(main_process, system, "main", |
| 294 | Kernel::KProcess::ProcessType::Userland, resource_limit) | 294 | Kernel::KProcess::ProcessType::Userland, resource_limit) |
| 295 | .IsSuccess()); | 295 | .IsSuccess()); |
| 296 | Kernel::KProcess::Register(system.Kernel(), main_process); | ||
| 296 | kernel.MakeApplicationProcess(main_process); | 297 | kernel.MakeApplicationProcess(main_process); |
| 297 | const auto [load_result, load_parameters] = app_loader->Load(*main_process, system); | 298 | const auto [load_result, load_parameters] = app_loader->Load(*main_process, system); |
| 298 | if (load_result != Loader::ResultStatus::Success) { | 299 | if (load_result != Loader::ResultStatus::Success) { |