Add "Enable_FS_Integrity_Checks" to Ryujinx.conf

This commit is contained in:
Alex Barney 2018-09-25 14:14:15 -05:00
parent 1a56b1bdbd
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 FontSize = 0x1100000;
private const bool EnableFsIntegrityChecks = true;
private Switch Device;
private ConcurrentDictionary<int, Process> 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;

View file

@ -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

View file

@ -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