Add "Enable_FS_Integrity_Checks" to Ryujinx.conf

This commit is contained in:
Alex Barney 2018-09-25 14:14:15 -05:00
commit 91a9caf18f
3 changed files with 7 additions and 2 deletions

View file

@ -18,8 +18,6 @@ namespace Ryujinx.HLE.HOS
internal const int HidSize = 0x40000; internal const int HidSize = 0x40000;
internal const int FontSize = 0x1100000; internal const int FontSize = 0x1100000;
private const bool EnableFsIntegrityChecks = true;
private Switch Device; private Switch Device;
private ConcurrentDictionary<int, Process> Processes; private ConcurrentDictionary<int, Process> Processes;
@ -53,6 +51,8 @@ namespace Ryujinx.HLE.HOS
public string CurrentTitle { get; private set; } public string CurrentTitle { get; private set; }
public bool EnableFsIntegrityChecks { get; set; }
public Horizon(Switch Device) public Horizon(Switch Device)
{ {
this.Device = Device; this.Device = Device;

View file

@ -68,6 +68,8 @@ namespace Ryujinx
Device.System.EnableMultiCoreScheduling(); Device.System.EnableMultiCoreScheduling();
} }
Device.System.EnableFsIntegrityChecks = Convert.ToBoolean(Parser.Value("Enable_FS_Integrity_Checks"));
JoyConKeyboard = new JoyConKeyboard( JoyConKeyboard = new JoyConKeyboard(
new JoyConKeyboardLeft new JoyConKeyboardLeft

View file

@ -31,6 +31,9 @@ Enable_Vsync = true
#Enable or Disable Multi-core scheduling of threads #Enable or Disable Multi-core scheduling of threads
Enable_MultiCore_Scheduling = false Enable_MultiCore_Scheduling = false
#Enable integrity checks on Switch content files
Enable_FS_Integrity_Checks = true
#Controller Device Index #Controller Device Index
GamePad_Index = 0 GamePad_Index = 0