diff options
author | mageven <62494521+mageven@users.noreply.github.com> | 2021-02-20 01:01:57 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-19 20:31:57 +0100 |
commit | d9b3f3fa3aa3816f8c136ca5a5c7139331b9cbd7 (patch) | |
tree | 2d5b14045a996fa3f9e03aefb00fa6ad49993a05 /Ryujinx.HLE | |
parent | b93fe5979a290097b3bd4cf7810e774a7e2ee834 (diff) |
Allow reconfiguring "Ignore Missing Services" during emulation (#2034)
Diffstat (limited to 'Ryujinx.HLE')
-rw-r--r-- | Ryujinx.HLE/Switch.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Ryujinx.HLE/Switch.cs b/Ryujinx.HLE/Switch.cs index 332727d3..2306e5d3 100644 --- a/Ryujinx.HLE/Switch.cs +++ b/Ryujinx.HLE/Switch.cs @@ -1,5 +1,6 @@ using LibHac.FsSystem; using Ryujinx.Audio; +using Ryujinx.Common; using Ryujinx.Configuration; using Ryujinx.Graphics.GAL; using Ryujinx.Graphics.Gpu; @@ -127,6 +128,10 @@ namespace Ryujinx.HLE System.GlobalAccessLogMode = ConfigurationState.Instance.System.FsGlobalAccessLogMode; ServiceConfiguration.IgnoreMissingServices = ConfigurationState.Instance.System.IgnoreMissingServices; + ConfigurationState.Instance.System.IgnoreMissingServices.Event += (object _, ReactiveEventArgs<bool> args) => + { + ServiceConfiguration.IgnoreMissingServices = args.NewValue; + }; // Configure controllers Hid.RefreshInputConfig(ConfigurationState.Instance.Hid.InputConfig.Value); |