forked from ShuriZma/suyu
main: Save config on broken Vulkan detect
Prevents possible issues if someone were to open yuzu repeatedly over and over again.
This commit is contained in:
parent
500b01076e
commit
2dafb27055
|
@ -299,6 +299,8 @@ GMainWindow::GMainWindow()
|
||||||
MigrateConfigFiles();
|
MigrateConfigFiles();
|
||||||
|
|
||||||
if (!CheckVulkan()) {
|
if (!CheckVulkan()) {
|
||||||
|
config->Save();
|
||||||
|
|
||||||
QMessageBox::warning(this, tr("Broken Vulkan Installation Detected"), tr(""));
|
QMessageBox::warning(this, tr("Broken Vulkan Installation Detected"), tr(""));
|
||||||
}
|
}
|
||||||
if (UISettings::values.has_broken_vulkan) {
|
if (UISettings::values.has_broken_vulkan) {
|
||||||
|
|
Loading…
Reference in New Issue