mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-09 00:03:53 +00:00
PowerControl: Improve handling of ? settings
This commit is contained in:
parent
02d68af216
commit
d1546d1dc8
4 changed files with 18 additions and 2 deletions
|
|
@ -23,6 +23,10 @@ namespace PowerControl.Options
|
|||
"Leave the game if it uses anti-cheat protection."))
|
||||
return null;
|
||||
|
||||
// If undefined, select max
|
||||
if (selected == "?")
|
||||
selected = "15W";
|
||||
|
||||
uint mW = uint.Parse(selected.Replace("W", "")) * 1000;
|
||||
|
||||
if (VangoghGPU.IsSupported)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue