2023-05-09 21:46:23 +00:00
|
|
|
using LibHac;
|
|
|
|
|
2023-01-04 22:15:45 +00:00
|
|
|
namespace Ryujinx.Horizon
|
|
|
|
{
|
2023-07-01 10:42:10 +00:00
|
|
|
public readonly struct HorizonOptions
|
2023-01-04 22:15:45 +00:00
|
|
|
{
|
2023-07-01 10:42:10 +00:00
|
|
|
public bool IgnoreMissingServices { get; }
|
2023-01-08 12:13:39 +00:00
|
|
|
public bool ThrowOnInvalidCommandIds { get; }
|
2023-01-04 22:15:45 +00:00
|
|
|
|
2023-05-09 21:46:23 +00:00
|
|
|
public HorizonClient BcatClient { get; }
|
|
|
|
|
|
|
|
public HorizonOptions(bool ignoreMissingServices, HorizonClient bcatClient)
|
2023-01-04 22:15:45 +00:00
|
|
|
{
|
2023-07-01 10:42:10 +00:00
|
|
|
IgnoreMissingServices = ignoreMissingServices;
|
2023-01-08 12:13:39 +00:00
|
|
|
ThrowOnInvalidCommandIds = true;
|
2023-07-01 10:42:10 +00:00
|
|
|
BcatClient = bcatClient;
|
2023-01-04 22:15:45 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|