Ryujinx/Ryujinx.HLE/HOS/Kernel/KPort.cs
2018-12-01 14:03:56 -06:00

26 lines
No EOL
721 B
C#

namespace Ryujinx.HLE.HOS.Kernel
{
class KPort : KAutoObject
{
public KServerPort ServerPort { get; private set; }
public KClientPort ClientPort { get; private set; }
private long _nameAddress;
private bool _isLight;
public KPort(Horizon system) : base(system)
{
ServerPort = new KServerPort(system);
ClientPort = new KClientPort(system);
}
public void Initialize(int maxSessions, bool isLight, long nameAddress)
{
ServerPort.Initialize(this);
ClientPort.Initialize(this, maxSessions);
this._isLight = isLight;
this._nameAddress = nameAddress;
}
}
}