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/k_event.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 'src/core/hle/kernel/k_event.cpp')
-rw-r--r-- | src/core/hle/kernel/k_event.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_event.cpp b/src/core/hle/kernel/k_event.cpp index 78ca59463..27f70e5c5 100644 --- a/src/core/hle/kernel/k_event.cpp +++ b/src/core/hle/kernel/k_event.cpp @@ -50,7 +50,7 @@ Result KEvent::Clear() { void KEvent::PostDestroy(uintptr_t arg) { // Release the event count resource the owner process holds. KProcess* owner = reinterpret_cast<KProcess*>(arg); - owner->GetResourceLimit()->Release(LimitableResource::Events, 1); + owner->GetResourceLimit()->Release(LimitableResource::EventCountMax, 1); owner->Close(); } |