aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/configure_graphics.cpp
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-05-09 16:36:09 -0400
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-21 10:56:07 -0400
commitb11a2a206fa2945c954f0b432937bfd468c43fea (patch)
treee9657af345ff3ab2424a100e98ae5c318f8acfe0 /src/yuzu/configuration/configure_graphics.cpp
parentcdb5dea26959001f9cf7448fcdb612475045a313 (diff)
shared_widget: Internalize extra setting configuration
Diffstat (limited to 'src/yuzu/configuration/configure_graphics.cpp')
-rw-r--r--src/yuzu/configuration/configure_graphics.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/yuzu/configuration/configure_graphics.cpp b/src/yuzu/configuration/configure_graphics.cpp
index d1ec2bae3b..ae3cf269f9 100644
--- a/src/yuzu/configuration/configure_graphics.cpp
+++ b/src/yuzu/configuration/configure_graphics.cpp
@@ -273,25 +273,6 @@ void ConfigureGraphics::Setup() {
hold_api.push_front(widget);
shader_backend_combobox = widget->combobox;
shader_backend_widget = widget;
- } else if (setting->Id() == Settings::values.use_speed_limit.Id()) {
- apply_funcs.push_front([setting, widget](bool powered_on) {
- if (!setting->RuntimeModfiable() && powered_on) {
- return;
- }
-
- u16 value = QVariant(widget->line_edit->text()).value<u16>();
- auto& speed_limit = Settings::values.speed_limit;
- if (Settings::IsConfiguringGlobal()) {
- speed_limit.SetValue(value);
- } else {
- bool using_global = !widget->restore_button->isVisible();
- speed_limit.SetGlobal(using_global);
- if (!using_global) {
- speed_limit.SetValue(value);
- }
- }
- });
- hold_graphics[setting->IsEnum()][setting_label] = widget;
} else if (setting->Id() == Settings::values.vsync_mode.Id()) {
vsync_mode_combobox = widget->combobox;
hold_graphics[setting->IsEnum()][setting_label] = widget;