Explorar o código

main: Save config on broken Vulkan detect

Prevents possible issues if someone were to open yuzu repeatedly over
and over again.
lat9nq %!s(int64=4) %!d(string=hai) anos
pai
achega
2dafb27055
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/yuzu/main.cpp

+ 2 - 0
src/yuzu/main.cpp

@@ -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) {