mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-21 06:03:52 +00:00
PowerControl: All options accept String
This commit is contained in:
parent
29e373d169
commit
81d4be30ce
17 changed files with 120 additions and 125 deletions
|
|
@ -12,7 +12,7 @@ namespace PowerControl.Options
|
|||
ActiveOption = "?",
|
||||
Visible = VangoghGPU.IsSupported,
|
||||
ResetValue = () => { return "Default"; },
|
||||
ApplyValue = delegate (object selected)
|
||||
ApplyValue = (selected) =>
|
||||
{
|
||||
if (!Settings.Default.AckAntiCheat(
|
||||
Controller.TitleWithVersion,
|
||||
|
|
@ -21,7 +21,7 @@ namespace PowerControl.Options
|
|||
)
|
||||
return null;
|
||||
|
||||
return CommonHelpers.Instance.WithGlobalMutex<object>(200, () =>
|
||||
return CommonHelpers.Instance.WithGlobalMutex<string>(200, () =>
|
||||
{
|
||||
using (var sd = VangoghGPU.Open())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue