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