aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Horizon/Sdk/Sf/Hipc/ManagerOptions.cs
blob: b99d63c5ecc59b14fd3ed8c19ada3f65a3da01ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
namespace Ryujinx.Horizon.Sdk.Sf.Hipc
{
    struct ManagerOptions
    {
        public static ManagerOptions Default => new(0, 0, 0, false);

        public int PointerBufferSize      { get; }
        public int MaxDomains             { get; }
        public int MaxDomainObjects       { get; }
        public bool CanDeferInvokeRequest { get; }

        public ManagerOptions(int pointerBufferSize, int maxDomains, int maxDomainObjects, bool canDeferInvokeRequest)
        {
            PointerBufferSize     = pointerBufferSize;
            MaxDomains            = maxDomains;
            MaxDomainObjects      = maxDomainObjects;
            CanDeferInvokeRequest = canDeferInvokeRequest;
        }
    }
}