mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-15 14:56:56 +00:00
550747eac6
* Horizon: Impl Prepo, Fixes bugs, Clean things * remove ToArray() * resultCode > status * Remove old services * Addresses gdkchan's comments and more cleanup * Addresses Gdkchan's feedback 2 * Reorganize services, make sure service are loaded before guest Co-Authored-By: gdkchan <5624669+gdkchan@users.noreply.github.com> * Create interfaces for lm and sm Co-authored-by: gdkchan <5624669+gdkchan@users.noreply.github.com>
23 lines
724 B
C#
23 lines
724 B
C#
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)
|
|
{
|
|
HipcManager hipcManager = new(this, session);
|
|
|
|
return DispatchRequest(new ServiceObjectHolder(hipcManager), session, inMessage, outMessage);
|
|
}
|
|
}
|
|
}
|