main: Save config on broken Vulkan detect

Prevents possible issues if someone were to open yuzu repeatedly over
and over again.
merge-requests/60/head
lat9nq 2022-05-29 23:38:51 +07:00
parent 500b01076e
commit 2dafb27055
1 changed files with 2 additions and 0 deletions

@ -299,6 +299,8 @@ GMainWindow::GMainWindow()
MigrateConfigFiles();
if (!CheckVulkan()) {
config->Save();
QMessageBox::warning(this, tr("Broken Vulkan Installation Detected"), tr(""));
}
if (UISettings::values.has_broken_vulkan) {