Require to acknowledge Anti-Cheat impact on PowerControl

This commit is contained in:
Kamil Trzciński 2022-12-19 12:33:45 +01:00
parent 862bdd2dd3
commit 9c0a326d48
3 changed files with 56 additions and 5 deletions

View file

@ -18,6 +18,12 @@ namespace PowerControl
{
if (Settings.Default.EnableExperimentalFeatures)
{
if (!Settings.Default.AckAntiCheat(
Controller.TitleWithVersion,
"ExperimentalFeatures",
"You are running EXPERIMENTAL build."))
return;
for (int i = 0; !VangoghGPU.IsSupported; i++)
{
Instance.WithGlobalMutex(1000, () => VangoghGPU.Detect());