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