diff options
author | Liam <byteslice@airmail.cc> | 2022-11-03 15:22:05 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-11-10 01:05:08 +0100 |
commit | 4eece4d35dcd34478524975b4302373bafeae17b (patch) | |
tree | 4e00bd6b118b16c8bd4901bd1cdd9b3bdf27cfd1 /src/core/hle/kernel/service_thread.cpp | |
parent | Merge pull request #9182 from liamwhite/services-are-processes (diff) | |
download | yuzu-4eece4d35dcd34478524975b4302373bafeae17b.tar yuzu-4eece4d35dcd34478524975b4302373bafeae17b.tar.gz yuzu-4eece4d35dcd34478524975b4302373bafeae17b.tar.bz2 yuzu-4eece4d35dcd34478524975b4302373bafeae17b.tar.lz yuzu-4eece4d35dcd34478524975b4302373bafeae17b.tar.xz yuzu-4eece4d35dcd34478524975b4302373bafeae17b.tar.zst yuzu-4eece4d35dcd34478524975b4302373bafeae17b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/service_thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/service_thread.cpp b/src/core/hle/kernel/service_thread.cpp index 7a85be77f..f5c2ab23f 100644 --- a/src/core/hle/kernel/service_thread.cpp +++ b/src/core/hle/kernel/service_thread.cpp @@ -193,7 +193,7 @@ ServiceThread::Impl::Impl(KernelCore& kernel_, const std::string& service_name) KProcess::ProcessType::KernelInternal, kernel.GetSystemResourceLimit()); // Reserve a new event from the process resource limit - KScopedResourceReservation event_reservation(m_process, LimitableResource::Events); + KScopedResourceReservation event_reservation(m_process, LimitableResource::EventCountMax); ASSERT(event_reservation.Succeeded()); // Initialize event. @@ -204,7 +204,7 @@ ServiceThread::Impl::Impl(KernelCore& kernel_, const std::string& service_name) event_reservation.Commit(); // Reserve a new thread from the process resource limit - KScopedResourceReservation thread_reservation(m_process, LimitableResource::Threads); + KScopedResourceReservation thread_reservation(m_process, LimitableResource::ThreadCountMax); ASSERT(thread_reservation.Succeeded()); // Initialize thread. |