main: Insert warning text on broken Vulkan

Co-authored-by: Schplee <24275329+Schplee@users.noreply.github.com>
This commit is contained in:
lat9nq 2022-05-30 01:02:56 -04:00
parent 2dafb27055
commit 422525e3fb
1 changed files with 6 additions and 1 deletions

View File

@ -301,7 +301,12 @@ GMainWindow::GMainWindow()
if (!CheckVulkan()) { if (!CheckVulkan()) {
config->Save(); config->Save();
QMessageBox::warning(this, tr("Broken Vulkan Installation Detected"), tr("")); QMessageBox::warning(
this, tr("Broken Vulkan Installation Detected"),
tr("Vulkan initialization failed on the previous boot.<br><br>Click <a "
"href='https://yuzu-emu.org/wiki/faq/"
"#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>here for "
"instructions to fix the issue</a>."));
} }
if (UISettings::values.has_broken_vulkan) { if (UISettings::values.has_broken_vulkan) {
Settings::values.renderer_backend = Settings::RendererBackend::OpenGL; Settings::values.renderer_backend = Settings::RendererBackend::OpenGL;