diff options
author | Liam <byteslice@airmail.cc> | 2023-10-21 22:47:43 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-10-22 02:03:41 +0200 |
commit | 8c59543ee32c8bff575bab7ec1e70f76f8eda437 (patch) | |
tree | afeee77ba66daf7ec6bff18515c8fbf1bb8468e0 /src/core/hle/service/kernel_helpers.cpp | |
parent | Merge pull request #11831 from liamwhite/hosversionbetween (diff) | |
download | yuzu-8c59543ee32c8bff575bab7ec1e70f76f8eda437.tar yuzu-8c59543ee32c8bff575bab7ec1e70f76f8eda437.tar.gz yuzu-8c59543ee32c8bff575bab7ec1e70f76f8eda437.tar.bz2 yuzu-8c59543ee32c8bff575bab7ec1e70f76f8eda437.tar.lz yuzu-8c59543ee32c8bff575bab7ec1e70f76f8eda437.tar.xz yuzu-8c59543ee32c8bff575bab7ec1e70f76f8eda437.tar.zst yuzu-8c59543ee32c8bff575bab7ec1e70f76f8eda437.zip |
Diffstat (limited to 'src/core/hle/service/kernel_helpers.cpp')
-rw-r--r-- | src/core/hle/service/kernel_helpers.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/hle/service/kernel_helpers.cpp b/src/core/hle/service/kernel_helpers.cpp index 6a313a03b..f51e63564 100644 --- a/src/core/hle/service/kernel_helpers.cpp +++ b/src/core/hle/service/kernel_helpers.cpp @@ -21,10 +21,8 @@ ServiceContext::ServiceContext(Core::System& system_, std::string name_) // Create the process. process = Kernel::KProcess::Create(kernel); - ASSERT(Kernel::KProcess::Initialize(process, system_, std::move(name_), - Kernel::KProcess::ProcessType::KernelInternal, - kernel.GetSystemResourceLimit()) - .IsSuccess()); + ASSERT(R_SUCCEEDED(process->Initialize(Kernel::Svc::CreateProcessParameter{}, + kernel.GetSystemResourceLimit(), false))); // Register the process. Kernel::KProcess::Register(kernel, process); |