Allow reconfiguring "Ignore Missing Services" during emulation (#2034)
This commit is contained in:
parent
b93fe5979a
commit
d9b3f3fa3a
1 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
using LibHac.FsSystem;
|
using LibHac.FsSystem;
|
||||||
using Ryujinx.Audio;
|
using Ryujinx.Audio;
|
||||||
|
using Ryujinx.Common;
|
||||||
using Ryujinx.Configuration;
|
using Ryujinx.Configuration;
|
||||||
using Ryujinx.Graphics.GAL;
|
using Ryujinx.Graphics.GAL;
|
||||||
using Ryujinx.Graphics.Gpu;
|
using Ryujinx.Graphics.Gpu;
|
||||||
|
@ -127,6 +128,10 @@ namespace Ryujinx.HLE
|
||||||
System.GlobalAccessLogMode = ConfigurationState.Instance.System.FsGlobalAccessLogMode;
|
System.GlobalAccessLogMode = ConfigurationState.Instance.System.FsGlobalAccessLogMode;
|
||||||
|
|
||||||
ServiceConfiguration.IgnoreMissingServices = ConfigurationState.Instance.System.IgnoreMissingServices;
|
ServiceConfiguration.IgnoreMissingServices = ConfigurationState.Instance.System.IgnoreMissingServices;
|
||||||
|
ConfigurationState.Instance.System.IgnoreMissingServices.Event += (object _, ReactiveEventArgs<bool> args) =>
|
||||||
|
{
|
||||||
|
ServiceConfiguration.IgnoreMissingServices = args.NewValue;
|
||||||
|
};
|
||||||
|
|
||||||
// Configure controllers
|
// Configure controllers
|
||||||
Hid.RefreshInputConfig(ConfigurationState.Instance.Hid.InputConfig.Value);
|
Hid.RefreshInputConfig(ConfigurationState.Instance.Hid.InputConfig.Value);
|
||||||
|
|
Loading…
Reference in a new issue