mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-05 22:35:38 +00:00
Move AMD to GPU.AMDAdrenaline
This commit is contained in:
parent
7b1442db14
commit
b06ac16fba
2 changed files with 10 additions and 9 deletions
|
|
@ -1,5 +1,6 @@
|
|||
using CommonHelpers;
|
||||
using PowerControl.Helpers;
|
||||
using PowerControl.Helpers.GPU;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
|
|
@ -56,7 +57,7 @@ namespace PowerControl
|
|||
Name = "Resolution",
|
||||
ApplyDelay = 1000,
|
||||
ResetValue = () => {
|
||||
if (!AMD.IsGPUScalingEnabled() && !Settings.Default.EnableExperimentalFeatures)
|
||||
if (!AMDAdrenaline.IsGPUScalingEnabled() && !Settings.Default.EnableExperimentalFeatures)
|
||||
return null;
|
||||
return Helpers.PhysicalMonitorBrightnessController.GetAllResolutions().Last();
|
||||
},
|
||||
|
|
@ -69,7 +70,7 @@ namespace PowerControl
|
|||
},
|
||||
CurrentValue = delegate()
|
||||
{
|
||||
if (!AMD.IsGPUScalingEnabled() && !Settings.Default.EnableExperimentalFeatures)
|
||||
if (!AMDAdrenaline.IsGPUScalingEnabled() && !Settings.Default.EnableExperimentalFeatures)
|
||||
return null;
|
||||
return Helpers.PhysicalMonitorBrightnessController.GetResolution();
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue