mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-04 13:57:39 +00:00
CommonHelpers: Move RTSS to OSDHelpers
This commit is contained in:
parent
8f31e4ed00
commit
e1a4073a7c
6 changed files with 134 additions and 134 deletions
|
|
@ -14,7 +14,7 @@ namespace PowerControl.Options
|
|||
ResetValue = () => { return "Yes"; },
|
||||
CurrentValue = delegate ()
|
||||
{
|
||||
if (!RTSS.IsOSDForeground(out var processId))
|
||||
if (!OSDHelpers.IsOSDForeground(out var processId))
|
||||
return null;
|
||||
if (!ProcessorCores.HasSMTThreads())
|
||||
return null;
|
||||
|
|
@ -23,7 +23,7 @@ namespace PowerControl.Options
|
|||
},
|
||||
ApplyValue = (selected) =>
|
||||
{
|
||||
if (!RTSS.IsOSDForeground(out var processId))
|
||||
if (!OSDHelpers.IsOSDForeground(out var processId))
|
||||
return null;
|
||||
if (!ProcessorCores.HasSMTThreads())
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue