citra-emu
/
citra-canary
Archived
1
0
Fork 0

citra_qt: fix vsync configuration being possible while a game is running

This commit is contained in:
Vitor Kiguchi 2023-04-03 10:01:25 -03:00
parent 041252ba36
commit 4e0f78dfa0
1 changed files with 2 additions and 1 deletions

View File

@ -119,7 +119,8 @@ void ConfigureGraphics::SetupPerGameUI() {
ui->toggle_accurate_mul->setEnabled(Settings::values.shaders_accurate_mul.UsingGlobal()); ui->toggle_accurate_mul->setEnabled(Settings::values.shaders_accurate_mul.UsingGlobal());
ui->toggle_disk_shader_cache->setEnabled( ui->toggle_disk_shader_cache->setEnabled(
Settings::values.use_disk_shader_cache.UsingGlobal()); Settings::values.use_disk_shader_cache.UsingGlobal());
ui->toggle_vsync_new->setEnabled(Settings::values.use_vsync_new.UsingGlobal()); ui->toggle_vsync_new->setEnabled(ui->toggle_vsync_new->isEnabled() &&
Settings::values.use_vsync_new.UsingGlobal());
return; return;
} }