mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-23 18:45:11 +00:00
3615a70cae
This reverts commit 85dbb9559a
.
26 lines
No EOL
717 B
C#
26 lines
No EOL
717 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;
|
|
}
|
|
}
|
|
} |