0
0
Fork 0
This repository has been archived on 2024-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
ryujinx-final/Ryujinx.HLE/HOS/Kernel/Ipc/KPort.cs

28 lines
753 B
C#
Raw Normal View History

using Ryujinx.HLE.HOS.Kernel.Common;
namespace Ryujinx.HLE.HOS.Kernel.Ipc
{
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);
_isLight = isLight;
_nameAddress = nameAddress;
}
}
}