diff options
| author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-05-08 10:03:40 -0400 | 
|---|---|---|
| committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-07-21 10:56:07 -0400 | 
| commit | 3a7a5edceaec30b0c34c492724068a8dc20eb181 (patch) | |
| tree | 687d172633b46427e8051cced7d468e4f5ed44bb /src/yuzu/configuration | |
| parent | 05c26411a399d415793fcc1c729ea00f87416b46 (diff) | |
settings: Define base renderer runtime modifiable settings
Diffstat (limited to 'src/yuzu/configuration')
| -rw-r--r-- | src/yuzu/configuration/configuration_shared.h | 9 | 
1 files changed, 5 insertions, 4 deletions
diff --git a/src/yuzu/configuration/configuration_shared.h b/src/yuzu/configuration/configuration_shared.h index d0fe6ea38..d70828935 100644 --- a/src/yuzu/configuration/configuration_shared.h +++ b/src/yuzu/configuration/configuration_shared.h @@ -92,10 +92,11 @@ 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> -void SetColoredTristate(QCheckBox* checkbox, -                        const Settings::SwitchableSetting<bool, ranged, save>& setting, -                        CheckState& tracker) { +template <bool ranged, bool save, bool runtime_modifiable> +void SetColoredTristate( +    QCheckBox* checkbox, +    const Settings::SwitchableSetting<bool, ranged, save, runtime_modifiable>& setting, +    CheckState& tracker) {      if (setting.UsingGlobal()) {          tracker = CheckState::Global;      } else {  | 
