mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2025-03-14 01:32:25 +01:00
Fixed build failure + Applied clang-format
This commit is contained in:
parent
823746314a
commit
0512fe224e
@ -76,8 +76,7 @@ ConfigureGeneral::~ConfigureGeneral() = default;
|
|||||||
|
|
||||||
void ConfigureGeneral::SetConfiguration() {
|
void ConfigureGeneral::SetConfiguration() {
|
||||||
if (Settings::IsConfiguringGlobal()) {
|
if (Settings::IsConfiguringGlobal()) {
|
||||||
ui->turbo_speed->setValue(
|
ui->turbo_speed->setValue(SettingsToSlider(Settings::values.turbo_speed.GetValue()));
|
||||||
SettingsToSlider(Settings::values.turbo_speed.GetValue()));
|
|
||||||
ui->turbo_speed_display_label->setText(
|
ui->turbo_speed_display_label->setText(
|
||||||
QStringLiteral("%1%").arg(Settings::values.turbo_speed.GetValue()));
|
QStringLiteral("%1%").arg(Settings::values.turbo_speed.GetValue()));
|
||||||
|
|
||||||
|
@ -495,7 +495,7 @@ struct Values {
|
|||||||
SwitchableSetting<u32, true> resolution_factor{1, 0, 10, "resolution_factor"};
|
SwitchableSetting<u32, true> resolution_factor{1, 0, 10, "resolution_factor"};
|
||||||
SwitchableSetting<double, true> frame_limit{100, 0, 1000, "frame_limit"};
|
SwitchableSetting<double, true> frame_limit{100, 0, 1000, "frame_limit"};
|
||||||
SwitchableSetting<int, true> turbo_speed{200, 0, 1000, "turbo_speed"};
|
SwitchableSetting<int, true> turbo_speed{200, 0, 1000, "turbo_speed"};
|
||||||
SwitchableSetting<TextureFilter> texture_filter{TextureFilter::None, "texture_filter"};
|
SwitchableSetting<TextureFilter> texture_filter{TextureFilter::NoFilter, "texture_filter"};
|
||||||
SwitchableSetting<TextureSampling> texture_sampling{TextureSampling::GameControlled,
|
SwitchableSetting<TextureSampling> texture_sampling{TextureSampling::GameControlled,
|
||||||
"texture_sampling"};
|
"texture_sampling"};
|
||||||
SwitchableSetting<u16, true> delay_game_render_thread_us{0, 0, 16000,
|
SwitchableSetting<u16, true> delay_game_render_thread_us{0, 0, 16000,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user