2023-01-04 17:15:45 -05:00
|
|
|
|
namespace Ryujinx.Horizon.Sdk.Sf.Hipc
|
|
|
|
|
{
|
|
|
|
|
struct ManagerOptions
|
|
|
|
|
{
|
2023-01-08 07:13:39 -05:00
|
|
|
|
public static ManagerOptions Default => new(0, 0, 0, false);
|
2023-01-04 17:15:45 -05:00
|
|
|
|
|
2023-01-08 07:13:39 -05:00
|
|
|
|
public int PointerBufferSize { get; }
|
|
|
|
|
public int MaxDomains { get; }
|
|
|
|
|
public int MaxDomainObjects { get; }
|
2023-01-04 17:15:45 -05:00
|
|
|
|
public bool CanDeferInvokeRequest { get; }
|
|
|
|
|
|
|
|
|
|
public ManagerOptions(int pointerBufferSize, int maxDomains, int maxDomainObjects, bool canDeferInvokeRequest)
|
|
|
|
|
{
|
2023-01-08 07:13:39 -05:00
|
|
|
|
PointerBufferSize = pointerBufferSize;
|
|
|
|
|
MaxDomains = maxDomains;
|
|
|
|
|
MaxDomainObjects = maxDomainObjects;
|
2023-01-04 17:15:45 -05:00
|
|
|
|
CanDeferInvokeRequest = canDeferInvokeRequest;
|
|
|
|
|
}
|
|
|
|
|
}
|
2023-01-08 07:13:39 -05:00
|
|
|
|
}
|