aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Kernel/KWritableEvent.cs
blob: 1721ed001105afbe23d15cd62e63e3ff6405c99b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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();
        }
    }
}