summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar lat9nq2022-05-30 01:02:56 -0400
committerGravatar lat9nq2022-05-30 10:58:19 -0400
commit422525e3fbb0b14f93a9ef5883bd3d3d5dae6ab3 (patch)
tree973d556093d83a265188ae12ee7ab12b19a143ca
parentmain: Save config on broken Vulkan detect (diff)
downloadyuzu-422525e3fbb0b14f93a9ef5883bd3d3d5dae6ab3.tar.gz
yuzu-422525e3fbb0b14f93a9ef5883bd3d3d5dae6ab3.tar.xz
yuzu-422525e3fbb0b14f93a9ef5883bd3d3d5dae6ab3.zip
main: Insert warning text on broken Vulkan
Co-authored-by: Schplee <24275329+Schplee@users.noreply.github.com>
Diffstat (limited to '')
-rw-r--r--src/yuzu/main.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 1fd9af942..d55733932 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -301,7 +301,12 @@ GMainWindow::GMainWindow()
301 if (!CheckVulkan()) { 301 if (!CheckVulkan()) {
302 config->Save(); 302 config->Save();
303 303
304 QMessageBox::warning(this, tr("Broken Vulkan Installation Detected"), tr("")); 304 QMessageBox::warning(
305 this, tr("Broken Vulkan Installation Detected"),
306 tr("Vulkan initialization failed on the previous boot.<br><br>Click <a "
307 "href='https://yuzu-emu.org/wiki/faq/"
308 "#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for "
309 "instructions to fix the issue</a>."));
305 } 310 }
306 if (UISettings::values.has_broken_vulkan) { 311 if (UISettings::values.has_broken_vulkan) {
307 Settings::values.renderer_backend = Settings::RendererBackend::OpenGL; 312 Settings::values.renderer_backend = Settings::RendererBackend::OpenGL;