Procházet zdrojové kódy

main: Save config on broken Vulkan detect

Prevents possible issues if someone were to open yuzu repeatedly over
and over again.
lat9nq před 4 roky
rodič
revize
2dafb27055
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  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) {