KPort.cs 717 B

1234567891011121314151617181920212223242526
  1. namespace Ryujinx.HLE.HOS.Kernel
  2. {
  3. class KPort : KAutoObject
  4. {
  5. public KServerPort ServerPort { get; private set; }
  6. public KClientPort ClientPort { get; private set; }
  7. private long NameAddress;
  8. private bool IsLight;
  9. public KPort(Horizon System) : base(System)
  10. {
  11. ServerPort = new KServerPort(System);
  12. ClientPort = new KClientPort(System);
  13. }
  14. public void Initialize(int MaxSessions, bool IsLight, long NameAddress)
  15. {
  16. ServerPort.Initialize(this);
  17. ClientPort.Initialize(this, MaxSessions);
  18. this.IsLight = IsLight;
  19. this.NameAddress = NameAddress;
  20. }
  21. }
  22. }