diff options
| author | 2022-05-29 23:38:51 -0400 | |
|---|---|---|
| committer | 2022-05-30 10:58:19 -0400 | |
| commit | 2dafb27055f41554674e64449dfd597d2d214db7 (patch) | |
| tree | e577d0d4933e04f67b508dd6d310e1643ea72f23 /src | |
| parent | yuzu-qt: Make has_broken_vulkan only for crashes (diff) | |
| download | yuzu-2dafb27055f41554674e64449dfd597d2d214db7.tar.gz yuzu-2dafb27055f41554674e64449dfd597d2d214db7.tar.xz yuzu-2dafb27055f41554674e64449dfd597d2d214db7.zip | |
main: Save config on broken Vulkan detect
Prevents possible issues if someone were to open yuzu repeatedly over
and over again.
Diffstat (limited to '')
| -rw-r--r-- | src/yuzu/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index ff1afa56e..1fd9af942 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp | |||
| @@ -299,6 +299,8 @@ GMainWindow::GMainWindow() | |||
| 299 | MigrateConfigFiles(); | 299 | MigrateConfigFiles(); |
| 300 | 300 | ||
| 301 | if (!CheckVulkan()) { | 301 | if (!CheckVulkan()) { |
| 302 | config->Save(); | ||
| 303 | |||
| 302 | QMessageBox::warning(this, tr("Broken Vulkan Installation Detected"), tr("")); | 304 | QMessageBox::warning(this, tr("Broken Vulkan Installation Detected"), tr("")); |
| 303 | } | 305 | } |
| 304 | if (UISettings::values.has_broken_vulkan) { | 306 | if (UISettings::values.has_broken_vulkan) { |