From d9b3f3fa3aa3816f8c136ca5a5c7139331b9cbd7 Mon Sep 17 00:00:00 2001 From: mageven <62494521+mageven@users.noreply.github.com> Date: Sat, 20 Feb 2021 01:01:57 +0530 Subject: [PATCH] Allow reconfiguring "Ignore Missing Services" during emulation (#2034) --- Ryujinx.HLE/Switch.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Ryujinx.HLE/Switch.cs b/Ryujinx.HLE/Switch.cs index 332727d306..2306e5d3e7 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 args) => + { + ServiceConfiguration.IgnoreMissingServices = args.NewValue; + }; // Configure controllers Hid.RefreshInputConfig(ConfigurationState.Instance.Hid.InputConfig.Value);