2018-08-16 19:47:36 -04:00
|
|
|
namespace Ryujinx.HLE.HOS.Kernel
|
2018-03-19 14:58:46 -04:00
|
|
|
{
|
2018-09-23 14:11:46 -04:00
|
|
|
class KEvent
|
2018-09-18 19:36:43 -04:00
|
|
|
{
|
2018-12-04 15:23:37 -05:00
|
|
|
public KReadableEvent ReadableEvent { get; }
|
|
|
|
public KWritableEvent WritableEvent { get; }
|
2018-09-18 19:36:43 -04:00
|
|
|
|
2018-12-04 15:23:37 -05:00
|
|
|
public KEvent(Horizon system)
|
2018-09-18 19:36:43 -04:00
|
|
|
{
|
2018-12-04 15:23:37 -05:00
|
|
|
ReadableEvent = new KReadableEvent(system, this);
|
2018-09-23 14:11:46 -04:00
|
|
|
WritableEvent = new KWritableEvent(this);
|
2018-09-18 19:36:43 -04:00
|
|
|
}
|
|
|
|
}
|
2018-03-19 14:58:46 -04:00
|
|
|
}
|