mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-05 08:52:36 +00:00
Fixing detach
This commit is contained in:
parent
b109499cb5
commit
652de1db51
@ -79,6 +79,15 @@ SettingsDialog::SettingsDialog(std::span<const QString> physical_devices,
|
|||||||
|
|
||||||
ui->buttonBox->button(QDialogButtonBox::StandardButton::Close)->setFocus();
|
ui->buttonBox->button(QDialogButtonBox::StandardButton::Close)->setFocus();
|
||||||
|
|
||||||
|
float rcas_value = Config::getRcasAttenuation();
|
||||||
|
ui->rcasAttenuationSlider->setValue(static_cast<int>(rcas_value * 1000));
|
||||||
|
ui->rcasAttenuationSpinBox->setValue(rcas_value);
|
||||||
|
|
||||||
|
connect(ui->rcasAttenuationSlider, &QSlider::valueChanged, this,
|
||||||
|
&SettingsDialog::OnRcasAttenuationChanged);
|
||||||
|
connect(ui->rcasAttenuationSpinBox, QOverload<double>::of(&QDoubleSpinBox::valueChanged), this,
|
||||||
|
&SettingsDialog::OnRcasAttenuationSpinBoxChanged);
|
||||||
|
|
||||||
channelMap = {{tr("Release"), "Release"}, {tr("Nightly"), "Nightly"}};
|
channelMap = {{tr("Release"), "Release"}, {tr("Nightly"), "Nightly"}};
|
||||||
logTypeMap = {{tr("async"), "async"}, {tr("sync"), "sync"}};
|
logTypeMap = {{tr("async"), "async"}, {tr("sync"), "sync"}};
|
||||||
screenModeMap = {{tr("Fullscreen (Borderless)"), "Fullscreen (Borderless)"},
|
screenModeMap = {{tr("Fullscreen (Borderless)"), "Fullscreen (Borderless)"},
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "common/types.h"
|
|
||||||
#include "common/config.h"
|
#include "common/config.h"
|
||||||
|
#include "common/types.h"
|
||||||
#include "video_core/renderer_vulkan/vk_common.h"
|
#include "video_core/renderer_vulkan/vk_common.h"
|
||||||
#include "video_core/texture_cache/image.h"
|
#include "video_core/texture_cache/image.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user