mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-21 06:03:52 +00:00
WIP
This commit is contained in:
parent
4899325fa4
commit
70c58dd568
2 changed files with 54 additions and 3 deletions
|
|
@ -36,7 +36,17 @@ namespace PowerControl.Options
|
|||
|
||||
var modes = ModeTiming.GetAllModes();
|
||||
|
||||
ModeTiming.ReplaceTiming(new Helpers.AMD.ADLDisplayModeX2()
|
||||
// ModeTiming.ReplaceTiming(new Helpers.AMD.ADLDisplayModeX2()
|
||||
// {
|
||||
// PelsWidth = currentResolution.Value.Width,
|
||||
// PelsHeight = currentResolution.Value.Height,
|
||||
// RefreshRate = selectedRefreshRate,
|
||||
// TimingStandard = Helpers.AMD.ADL.ADL_DL_MODETIMING_STANDARD_CVT,
|
||||
// });
|
||||
|
||||
ModeTiming.AddTiming(ModeTiming.Mode1280x800p40);
|
||||
|
||||
ModeTiming.SetTiming(new Helpers.AMD.ADLDisplayModeX2()
|
||||
{
|
||||
PelsWidth = currentResolution.Value.Width,
|
||||
PelsHeight = currentResolution.Value.Height,
|
||||
|
|
@ -44,8 +54,10 @@ namespace PowerControl.Options
|
|||
TimingStandard = Helpers.AMD.ADL.ADL_DL_MODETIMING_STANDARD_CVT,
|
||||
});
|
||||
}
|
||||
|
||||
DisplayResolutionController.SetRefreshRate(selectedRefreshRate);
|
||||
else
|
||||
{
|
||||
DisplayResolutionController.SetRefreshRate(selectedRefreshRate);
|
||||
}
|
||||
|
||||
return DisplayResolutionController.GetRefreshRate().ToString();
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue