diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/configuration/configuration_shared.cpp | 6 | ||||
| -rw-r--r-- | src/yuzu/configuration/configuration_shared.h | 9 |
2 files changed, 15 insertions, 0 deletions
diff --git a/src/yuzu/configuration/configuration_shared.cpp b/src/yuzu/configuration/configuration_shared.cpp index 08d67facd..0c881cf7d 100644 --- a/src/yuzu/configuration/configuration_shared.cpp +++ b/src/yuzu/configuration/configuration_shared.cpp | |||
| @@ -124,3 +124,9 @@ void ConfigurationShared::InsertGlobalItem(QComboBox* combobox) { | |||
| 124 | combobox->insertItem(ConfigurationShared::USE_GLOBAL_INDEX, use_global_text); | 124 | combobox->insertItem(ConfigurationShared::USE_GLOBAL_INDEX, use_global_text); |
| 125 | combobox->insertSeparator(ConfigurationShared::USE_GLOBAL_SEPARATOR_INDEX); | 125 | combobox->insertSeparator(ConfigurationShared::USE_GLOBAL_SEPARATOR_INDEX); |
| 126 | } | 126 | } |
| 127 | |||
| 128 | void ConfigurationShared::InsertGlobalItem(QComboBox* combobox, const QString& global) { | ||
| 129 | const QString use_global_text = ConfigurePerGame::tr("Use global configuration (%1)").arg(global); | ||
| 130 | combobox->insertItem(ConfigurationShared::USE_GLOBAL_INDEX, use_global_text); | ||
| 131 | combobox->insertSeparator(ConfigurationShared::USE_GLOBAL_SEPARATOR_INDEX); | ||
| 132 | } | ||
diff --git a/src/yuzu/configuration/configuration_shared.h b/src/yuzu/configuration/configuration_shared.h index b2bd971c8..4b52834c4 100644 --- a/src/yuzu/configuration/configuration_shared.h +++ b/src/yuzu/configuration/configuration_shared.h | |||
| @@ -27,6 +27,14 @@ struct Trackers { | |||
| 27 | CheckState use_multi_core; | 27 | CheckState use_multi_core; |
| 28 | 28 | ||
| 29 | CheckState enable_audio_stretching; | 29 | CheckState enable_audio_stretching; |
| 30 | |||
| 31 | CheckState use_disk_shader_cache; | ||
| 32 | CheckState use_asynchronous_gpu_emulation; | ||
| 33 | |||
| 34 | CheckState use_vsync; | ||
| 35 | CheckState use_assembly_shaders; | ||
| 36 | CheckState use_fast_gpu_time; | ||
| 37 | CheckState force_30fps_mode; | ||
| 30 | } extern trackers; | 38 | } extern trackers; |
| 31 | 39 | ||
| 32 | // Global-aware apply and set functions | 40 | // Global-aware apply and set functions |
| @@ -52,5 +60,6 @@ void SetColoredTristate(QCheckBox* checkbox, const std::string& name, const Sett | |||
| 52 | ConfigurationShared::CheckState& tracker); | 60 | ConfigurationShared::CheckState& tracker); |
| 53 | 61 | ||
| 54 | void InsertGlobalItem(QComboBox* combobox); | 62 | void InsertGlobalItem(QComboBox* combobox); |
| 63 | void InsertGlobalItem(QComboBox* combobox, const QString& global); | ||
| 55 | 64 | ||
| 56 | } // namespace ConfigurationShared | 65 | } // namespace ConfigurationShared |