Skip to content

Commit

Permalink
PBO: Add fmax input
Browse files Browse the repository at this point in the history
  • Loading branch information
irusanov committed Dec 2, 2024
1 parent 6e1d6ec commit 3b8b94c
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 21 deletions.
Binary file modified Prebuilt/ZenStates-Core.dll
Binary file not shown.
114 changes: 93 additions & 21 deletions SettingsForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions SettingsForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ private void InitPBO()
}*/

checkBoxApplyCOStartup.Checked = TaskExists("RyzenSDT");
numericUpDownFmax.Value = cpu.GetFMax();
}

private void ApplyFrequencyAllCoreSetting(int frequency)
Expand Down Expand Up @@ -1969,5 +1970,12 @@ private void RadioButtonManualCoreControl_CheckedChanged(object sender, EventArg
panelManualCoreControl.Enabled = manual;
panelX3D.Enabled = !manual;
}

private void ButtonApplyFMax_Click(object sender, EventArgs e)
{
if (cpu.SetFMax((uint)numericUpDownFmax.Value)) {
numericUpDownFmax.Value = cpu.GetFMax();
}
}
}
}

0 comments on commit 3b8b94c

Please sign in to comment.