|
|
|
@ -141,12 +141,12 @@ void ConfigureGraphics::ApplyConfiguration() {
|
|
|
|
|
ConfigurationShared::ApplyPerGameSetting(&Settings::values.aspect_ratio,
|
|
|
|
|
ui->aspect_ratio_combobox);
|
|
|
|
|
|
|
|
|
|
ConfigurationShared::ApplyPerGameSetting(
|
|
|
|
|
&Settings::values.use_disk_shader_cache, ui->use_disk_shader_cache,
|
|
|
|
|
trackers.use_disk_shader_cache);
|
|
|
|
|
ConfigurationShared::ApplyPerGameSetting(
|
|
|
|
|
&Settings::values.use_asynchronous_gpu_emulation, ui->use_asynchronous_gpu_emulation,
|
|
|
|
|
trackers.use_asynchronous_gpu_emulation);
|
|
|
|
|
ConfigurationShared::ApplyPerGameSetting(&Settings::values.use_disk_shader_cache,
|
|
|
|
|
ui->use_disk_shader_cache,
|
|
|
|
|
trackers.use_disk_shader_cache);
|
|
|
|
|
ConfigurationShared::ApplyPerGameSetting(&Settings::values.use_asynchronous_gpu_emulation,
|
|
|
|
|
ui->use_asynchronous_gpu_emulation,
|
|
|
|
|
trackers.use_asynchronous_gpu_emulation);
|
|
|
|
|
|
|
|
|
|
if (ui->bg_combobox->currentIndex() == ConfigurationShared::USE_GLOBAL_INDEX) {
|
|
|
|
|
Settings::values.bg_red.SetGlobal(true);
|
|
|
|
@ -260,8 +260,7 @@ void ConfigureGraphics::SetupPerGameUI() {
|
|
|
|
|
trackers.use_disk_shader_cache);
|
|
|
|
|
ConfigurationShared::SetColoredTristate(
|
|
|
|
|
ui->use_asynchronous_gpu_emulation, "use_asynchronous_gpu_emulation",
|
|
|
|
|
Settings::values.use_asynchronous_gpu_emulation,
|
|
|
|
|
trackers.use_asynchronous_gpu_emulation);
|
|
|
|
|
Settings::values.use_asynchronous_gpu_emulation, trackers.use_asynchronous_gpu_emulation);
|
|
|
|
|
|
|
|
|
|
ConfigurationShared::SetColoredComboBox(ui->aspect_ratio_combobox, ui->ar_label, "ar_label",
|
|
|
|
|
Settings::values.aspect_ratio.GetValue(true));
|
|
|
|
|