aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/main.cpp
diff options
context:
space:
mode:
authorlat9nq <lat9nq@gmail.com>2022-05-29 23:38:51 -0400
committerlat9nq <lat9nq@gmail.com>2022-05-30 10:58:19 -0400
commit2dafb27055f41554674e64449dfd597d2d214db7 (patch)
treee577d0d4933e04f67b508dd6d310e1643ea72f23 /src/yuzu/main.cpp
parent500b01076e1a96b9c133ff663daad6f9dd8e4039 (diff)
main: Save config on broken Vulkan detect
Prevents possible issues if someone were to open yuzu repeatedly over and over again.
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r--src/yuzu/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index ff1afa56e7..1fd9af942d 100644
--- a/src/yuzu/main.cpp
+++ b/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) {