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