diff --git a/Ryujinx.HLE/HOS/Horizon.cs b/Ryujinx.HLE/HOS/Horizon.cs index 592517fddd..d6ab202622 100644 --- a/Ryujinx.HLE/HOS/Horizon.cs +++ b/Ryujinx.HLE/HOS/Horizon.cs @@ -18,8 +18,6 @@ namespace Ryujinx.HLE.HOS internal const int HidSize = 0x40000; internal const int FontSize = 0x1100000; - private const bool EnableFsIntegrityChecks = true; - private Switch Device; private ConcurrentDictionary Processes; @@ -53,6 +51,8 @@ namespace Ryujinx.HLE.HOS public string CurrentTitle { get; private set; } + public bool EnableFsIntegrityChecks { get; set; } + public Horizon(Switch Device) { this.Device = Device; diff --git a/Ryujinx/Config.cs b/Ryujinx/Config.cs index f4dd77ba4e..197a8cad65 100644 --- a/Ryujinx/Config.cs +++ b/Ryujinx/Config.cs @@ -68,6 +68,8 @@ namespace Ryujinx Device.System.EnableMultiCoreScheduling(); } + Device.System.EnableFsIntegrityChecks = Convert.ToBoolean(Parser.Value("Enable_FS_Integrity_Checks")); + JoyConKeyboard = new JoyConKeyboard( new JoyConKeyboardLeft diff --git a/Ryujinx/Ryujinx.conf b/Ryujinx/Ryujinx.conf index bf361db3e5..45f545d00e 100644 --- a/Ryujinx/Ryujinx.conf +++ b/Ryujinx/Ryujinx.conf @@ -31,6 +31,9 @@ Enable_Vsync = true #Enable or Disable Multi-core scheduling of threads Enable_MultiCore_Scheduling = false +#Enable integrity checks on Switch content files +Enable_FS_Integrity_Checks = true + #Controller Device Index GamePad_Index = 0