mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-21 01:45:41 -04:00
HostInterface: Add proper turbo speed setting
This commit is contained in:
@ -107,6 +107,8 @@ AdvancedSettingsWidget::AdvancedSettingsWidget(QtHostInterface* host_interface,
|
||||
"UseDebugDevice", false);
|
||||
addIntRangeTweakOption(m_host_interface, m_ui.tweakOptionTable, tr("Display FPS Limit"), "Display", "MaxFPS", 0, 1000,
|
||||
0);
|
||||
addBooleanTweakOption(m_host_interface, m_ui.tweakOptionTable, tr("Increase Timer Resolution"), "Main",
|
||||
"IncreaseTimerResolution", true);
|
||||
}
|
||||
|
||||
AdvancedSettingsWidget::~AdvancedSettingsWidget() = default;
|
||||
@ -125,4 +127,5 @@ void AdvancedSettingsWidget::onResetToDefaultClicked()
|
||||
setIntRangeTweakOption(m_ui.tweakOptionTable, 9, static_cast<int>(Settings::DEFAULT_GPU_MAX_RUN_AHEAD));
|
||||
setBooleanTweakOption(m_ui.tweakOptionTable, 10, false);
|
||||
setIntRangeTweakOption(m_ui.tweakOptionTable, 11, 0);
|
||||
setBooleanTweakOption(m_ui.tweakOptionTable, 12, true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user