mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-11 09:16:38 +00:00
22 lines
403 B
C#
22 lines
403 B
C#
|
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();
|
||
|
}
|
||
|
}
|
||
|
}
|