ryujinx-mirror/Ryujinx.HLE/HOS/Kernel/KWritableEvent.cs

22 lines
403 B
C#
Raw Normal View History

namespace Ryujinx.HLE.HOS.Kernel
{
class KWritableEvent
{
private KEvent Parent;
public KWritableEvent(KEvent Parent)
{
this.Parent = Parent;
}
public void Signal()
{
Parent.ReadableEvent.Signal();
}
public KernelResult Clear()
{
return Parent.ReadableEvent.Clear();
}
}
}