Radeon Reset Bug fix service
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
RadeonResetBugFix/RadeonResetBugFixService/Tasks/BasicTasks/EnableBasicDisplayStartupTa...

16 lines
472 B

namespace RadeonResetBugFixService.Tasks.BasicTasks
{
using Contracts;
class EnableBasicDisplayStartupTask : ITask
{
string ITask.TaskName => "Enabling basic display automatic start";
void ITask.Run(ILogger logger)
{
var originalValue = RegistryHelper.GetBasicDisplayStartType();
logger.Log($"Original start value {originalValue}");
RegistryHelper.SetBasicDisplayStartType(3);
}
}
}