mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12:00
Add wake-up delay to settings
This commit is contained in:
parent
85695c8bac
commit
556ac1cf22
3 changed files with 52 additions and 0 deletions
|
@ -945,6 +945,13 @@ settings_dialog::settings_dialog(std::shared_ptr<gui_settings> guiSettings, std:
|
|||
|
||||
// Sliders
|
||||
|
||||
EnhanceSlider(emu_settings::DriverWakeUpDelay, ui->wakeupDelay, ui->wakeupText, tr(u8"%0 µs"));
|
||||
int wakeupDef = stoi(xemu_settings->GetSettingDefault(emu_settings::DriverWakeUpDelay));
|
||||
connect(ui->wakeupReset, &QAbstractButton::clicked, [=]()
|
||||
{
|
||||
ui->wakeupDelay->setValue(wakeupDef);
|
||||
});
|
||||
|
||||
EnhanceSlider(emu_settings::VBlankRate, ui->vblank, ui->vblankText, tr("%0 Hz"));
|
||||
int vblankDef = stoi(xemu_settings->GetSettingDefault(emu_settings::VBlankRate));
|
||||
connect(ui->vblankReset, &QAbstractButton::clicked, [=]()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue