瀏覽代碼

main: Save config on broken Vulkan detect

Prevents possible issues if someone were to open yuzu repeatedly over
and over again.
lat9nq 4 年之前
父節點
當前提交
2dafb27055
共有 1 個文件被更改,包括 2 次插入0 次删除
  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) {