aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-05-09 16:21:24 -0400
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-21 10:56:07 -0400
commitcdb5dea26959001f9cf7448fcdb612475045a313 (patch)
tree12a712073047a2dfe65832a585aacb7c49f510d5 /src/yuzu
parentdf2bd251faa39b9f368110f0fb7f92f7eea4d8d2 (diff)
settings: Move runtime and save to parameters
These don't need to be whole new types.
Diffstat (limited to 'src/yuzu')
-rw-r--r--src/yuzu/configuration/configuration_shared.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/yuzu/configuration/configuration_shared.h b/src/yuzu/configuration/configuration_shared.h
index 0a0a92ae5..83a0dd574 100644
--- a/src/yuzu/configuration/configuration_shared.h
+++ b/src/yuzu/configuration/configuration_shared.h
@@ -77,11 +77,10 @@ void SetPerGameSetting(QComboBox* combobox,
void SetHighlight(QWidget* widget, bool highlighted);
// Sets up a QCheckBox like a tristate one, given a Setting
-template <bool ranged, bool save, bool runtime_modifiable>
-void SetColoredTristate(
- QCheckBox* checkbox,
- const Settings::SwitchableSetting<bool, ranged, save, runtime_modifiable>& setting,
- CheckState& tracker) {
+template <bool ranged>
+void SetColoredTristate(QCheckBox* checkbox,
+ const Settings::SwitchableSetting<bool, ranged>& setting,
+ CheckState& tracker) {
if (setting.UsingGlobal()) {
tracker = CheckState::Global;
} else {