diff options
author | bunnei <bunneidev@gmail.com> | 2022-11-10 20:03:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-10 20:03:54 +0100 |
commit | ea41c53ab1b1255814be4a36a625153f9a7854b2 (patch) | |
tree | 4e00bd6b118b16c8bd4901bd1cdd9b3bdf27cfd1 /src/core/hle/kernel/k_event.cpp | |
parent | Merge pull request #9182 from liamwhite/services-are-processes (diff) | |
parent | kernel/svc_types: refresh (diff) | |
download | yuzu-ea41c53ab1b1255814be4a36a625153f9a7854b2.tar yuzu-ea41c53ab1b1255814be4a36a625153f9a7854b2.tar.gz yuzu-ea41c53ab1b1255814be4a36a625153f9a7854b2.tar.bz2 yuzu-ea41c53ab1b1255814be4a36a625153f9a7854b2.tar.lz yuzu-ea41c53ab1b1255814be4a36a625153f9a7854b2.tar.xz yuzu-ea41c53ab1b1255814be4a36a625153f9a7854b2.tar.zst yuzu-ea41c53ab1b1255814be4a36a625153f9a7854b2.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(); } |