2023-01-04 22:15:45 +00:00
|
|
|
|
using Ryujinx.Horizon.Common;
|
|
|
|
|
using Ryujinx.Horizon.Sdk.Sf.Cmif;
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace Ryujinx.Horizon.Sdk.Sf.Hipc
|
|
|
|
|
{
|
|
|
|
|
class ServerDomainSessionManager : ServerSessionManager
|
|
|
|
|
{
|
|
|
|
|
public ServerDomainManager Domain { get; }
|
|
|
|
|
|
|
|
|
|
public ServerDomainSessionManager(int entryCount, int maxDomains)
|
|
|
|
|
{
|
|
|
|
|
Domain = new ServerDomainManager(entryCount, maxDomains);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override Result DispatchManagerRequest(ServerSession session, Span<byte> inMessage, Span<byte> outMessage)
|
|
|
|
|
{
|
2023-01-08 12:13:39 +00:00
|
|
|
|
HipcManager hipcManager = new(this, session);
|
2023-01-04 22:15:45 +00:00
|
|
|
|
|
|
|
|
|
return DispatchRequest(new ServiceObjectHolder(hipcManager), session, inMessage, outMessage);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|