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