diff options
| author | 2023-02-15 17:42:45 -0500 | |
|---|---|---|
| committer | 2023-02-15 17:42:45 -0500 | |
| commit | 6d77de96dae4763ef78fdea1918b582e5e181653 (patch) | |
| tree | 0c131de68a68c23f62a8a253b3cf69d3bfc91ee7 /src/core/hle/ipc_helpers.h | |
| parent | Merge pull request #9782 from arades79/fix-consexpr-value-declaration-usage (diff) | |
| parent | general: rename CurrentProcess to ApplicationProcess (diff) | |
| download | yuzu-6d77de96dae4763ef78fdea1918b582e5e181653.tar.gz yuzu-6d77de96dae4763ef78fdea1918b582e5e181653.tar.xz yuzu-6d77de96dae4763ef78fdea1918b582e5e181653.zip | |
Merge pull request #9796 from liamwhite/current
general: rename CurrentProcess to ApplicationProcess
Diffstat (limited to 'src/core/hle/ipc_helpers.h')
| -rw-r--r-- | src/core/hle/ipc_helpers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/ipc_helpers.h b/src/core/hle/ipc_helpers.h index a86bec252..38d6cfaff 100644 --- a/src/core/hle/ipc_helpers.h +++ b/src/core/hle/ipc_helpers.h | |||
| @@ -148,7 +148,7 @@ public: | |||
| 148 | if (context->GetManager()->IsDomain()) { | 148 | if (context->GetManager()->IsDomain()) { |
| 149 | context->AddDomainObject(std::move(iface)); | 149 | context->AddDomainObject(std::move(iface)); |
| 150 | } else { | 150 | } else { |
| 151 | kernel.CurrentProcess()->GetResourceLimit()->Reserve( | 151 | kernel.ApplicationProcess()->GetResourceLimit()->Reserve( |
| 152 | Kernel::LimitableResource::SessionCountMax, 1); | 152 | Kernel::LimitableResource::SessionCountMax, 1); |
| 153 | 153 | ||
| 154 | auto* session = Kernel::KSession::Create(kernel); | 154 | auto* session = Kernel::KSession::Create(kernel); |