mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-23 17:25:48 +00:00
7de7b559ad
* Improve kernel events implementation * Some cleanup * Address PR feedback
22 lines
No EOL
403 B
C#
22 lines
No EOL
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();
|
|
}
|
|
}
|
|
} |