mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 12:05:23 +00:00
Add snapping and limit range for wakeup delay
This commit is contained in:
parent
807d6cfea4
commit
cbaa8f3329
1 changed files with 2 additions and 0 deletions
|
@ -947,6 +947,8 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> guiSettings, std:
|
|||
// Sliders
|
||||
|
||||
EnhanceSlider(emu_settings::DriverWakeUpDelay, ui->wakeupDelay, ui->wakeupText, tr(u8"%0 µs"));
|
||||
SnapSlider(ui->wakeupDelay, 200);
|
||||
ui->wakeupDelay->setMaximum(7000); // Very large values must be entered with config.yml changes
|
||||
int wakeupDef = stoi(xemu_settings->GetSettingDefault(emu_settings::DriverWakeUpDelay));
|
||||
connect(ui->wakeupReset, &QAbstractButton::clicked, [=]()
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue