aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx/Configuration.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx/Configuration.cs')
-rw-r--r--Ryujinx/Configuration.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Ryujinx/Configuration.cs b/Ryujinx/Configuration.cs
index dbbec1cb..c4a1b436 100644
--- a/Ryujinx/Configuration.cs
+++ b/Ryujinx/Configuration.cs
@@ -87,6 +87,11 @@ namespace Ryujinx
public bool EnableFsIntegrityChecks { get; private set; }
/// <summary>
+ /// Enable or Disable aggressive CPU optimizations
+ /// </summary>
+ public bool EnableAggressiveCpuOpts { get; private set; }
+
+ /// <summary>
/// The primary controller's type
/// </summary>
public HidControllerType ControllerType { get; private set; }
@@ -197,6 +202,11 @@ namespace Ryujinx
? IntegrityCheckLevel.ErrorOnInvalid
: IntegrityCheckLevel.None;
+ if (Instance.EnableAggressiveCpuOpts)
+ {
+ Optimizations.AssumeStrictAbiCompliance = true;
+ }
+
if(Instance.GamepadControls.Enabled)
{
if (GamePad.GetName(Instance.GamepadControls.Index) == "Unmapped Controller")