| 12345678910111213141516171819202122232425262728293031323334353637 |
- using LibHac;
- using Ryujinx.Audio.Integration;
- using Ryujinx.Cpu;
- using Ryujinx.Horizon.Sdk.Account;
- using Ryujinx.Horizon.Sdk.Fs;
- namespace Ryujinx.Horizon
- {
- public readonly struct HorizonOptions
- {
- public bool IgnoreMissingServices { get; }
- public bool ThrowOnInvalidCommandIds { get; }
- public HorizonClient BcatClient { get; }
- public IFsClient FsClient { get; }
- public IEmulatorAccountManager AccountManager { get; }
- public IHardwareDeviceDriver AudioDeviceDriver { get; }
- public ITickSource TickSource { get; }
- public HorizonOptions(
- bool ignoreMissingServices,
- HorizonClient bcatClient,
- IFsClient fsClient,
- IEmulatorAccountManager accountManager,
- IHardwareDeviceDriver audioDeviceDriver,
- ITickSource tickSource)
- {
- IgnoreMissingServices = ignoreMissingServices;
- ThrowOnInvalidCommandIds = true;
- BcatClient = bcatClient;
- FsClient = fsClient;
- AccountManager = accountManager;
- AudioDeviceDriver = audioDeviceDriver;
- TickSource = tickSource;
- }
- }
- }
|