mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-14 14:37:59 -05:00
kernel/svc_types: refresh
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user