main: Save config on broken Vulkan detect

Prevents possible issues if someone were to open yuzu repeatedly over
and over again.
This commit is contained in:
lat9nq committed 2022-05-30 10:58:19 -04:00
1 parent b527556c38
commit b2dd2c6a45
1 file changed
+2
+2
View File
@@ -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) {