Ryujinx/Ryujinx.HLE/HOS/Kernel/KWritableEvent.cs

22 lines
402 B
C#
Raw Normal View History

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