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