From 91ef005a3cfeb72b58a91477d66e1a8956dafddb Mon Sep 17 00:00:00 2001 From: LotP1 Date: Thu, 21 Nov 2024 16:07:28 +0100 Subject: [PATCH] remove LowPowerPPTC from HLEConfiguration it's unused and doesn't need to be here, so it's getting reverted --- src/Ryujinx.HLE/HLEConfiguration.cs | 7 ------- src/Ryujinx.Headless.SDL2/Options.cs | 3 --- src/Ryujinx.Headless.SDL2/Program.cs | 1 - src/Ryujinx/AppHost.cs | 1 - 4 files changed, 12 deletions(-) diff --git a/src/Ryujinx.HLE/HLEConfiguration.cs b/src/Ryujinx.HLE/HLEConfiguration.cs index 59dcf27b4..70fcf278d 100644 --- a/src/Ryujinx.HLE/HLEConfiguration.cs +++ b/src/Ryujinx.HLE/HLEConfiguration.cs @@ -98,11 +98,6 @@ namespace Ryujinx.HLE /// internal readonly bool EnablePtc; - /// - /// Control if the Profiled Translation Cache (PTC) should run in low power mode. - /// - internal readonly bool LowPowerPtc; - /// /// Control if the guest application should be told that there is a Internet connection available. /// @@ -203,7 +198,6 @@ namespace Ryujinx.HLE bool enableVsync, bool enableDockedMode, bool enablePtc, - bool lowPowerPtc, bool enableInternetAccess, IntegrityCheckLevel fsIntegrityCheckLevel, int fsGlobalAccessLogMode, @@ -234,7 +228,6 @@ namespace Ryujinx.HLE EnableVsync = enableVsync; EnableDockedMode = enableDockedMode; EnablePtc = enablePtc; - LowPowerPtc = lowPowerPtc; EnableInternetAccess = enableInternetAccess; FsIntegrityCheckLevel = fsIntegrityCheckLevel; FsGlobalAccessLogMode = fsGlobalAccessLogMode; diff --git a/src/Ryujinx.Headless.SDL2/Options.cs b/src/Ryujinx.Headless.SDL2/Options.cs index d813ade65..8078ca5e4 100644 --- a/src/Ryujinx.Headless.SDL2/Options.cs +++ b/src/Ryujinx.Headless.SDL2/Options.cs @@ -106,9 +106,6 @@ namespace Ryujinx.Headless.SDL2 [Option("disable-ptc", Required = false, HelpText = "Disables profiled persistent translation cache.")] public bool DisablePTC { get; set; } - [Option("low-power-ptc", Required = false, HelpText = "Increases PTC performance for low power systems.")] - public bool LowPowerPTC { get; set; } - [Option("enable-internet-connection", Required = false, Default = false, HelpText = "Enables guest Internet connection.")] public bool EnableInternetAccess { get; set; } diff --git a/src/Ryujinx.Headless.SDL2/Program.cs b/src/Ryujinx.Headless.SDL2/Program.cs index 67d6ab4eb..e3bbd1e51 100644 --- a/src/Ryujinx.Headless.SDL2/Program.cs +++ b/src/Ryujinx.Headless.SDL2/Program.cs @@ -566,7 +566,6 @@ namespace Ryujinx.Headless.SDL2 !options.DisableVSync, !options.DisableDockedMode, !options.DisablePTC, - options.LowPowerPTC, options.EnableInternetAccess, !options.DisableFsIntegrityChecks ? IntegrityCheckLevel.ErrorOnInvalid : IntegrityCheckLevel.None, options.FsGlobalAccessLogMode, diff --git a/src/Ryujinx/AppHost.cs b/src/Ryujinx/AppHost.cs index 590a86c40..7246be4b9 100644 --- a/src/Ryujinx/AppHost.cs +++ b/src/Ryujinx/AppHost.cs @@ -871,7 +871,6 @@ namespace Ryujinx.Ava ConfigurationState.Instance.Graphics.EnableVsync, ConfigurationState.Instance.System.EnableDockedMode, ConfigurationState.Instance.System.EnablePtc, - ConfigurationState.Instance.System.EnableLowPowerPtc, ConfigurationState.Instance.System.EnableInternetAccess, ConfigurationState.Instance.System.EnableFsIntegrityChecks ? IntegrityCheckLevel.ErrorOnInvalid : IntegrityCheckLevel.None, ConfigurationState.Instance.System.FsGlobalAccessLogMode,