1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-01 00:52:19 +00:00
Ryujinx/Ryujinx.HLE/HOS/Kernel/KPort.cs

26 lines
711 B
C#
Raw Normal View History

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