yuzu-qt: Make has_broken_vulkan only for crashes

Being able to catch and handle a Vulkan exception is not what this is
for.
This commit is contained in:
lat9nq
2022-05-29 22:26:27 -04:00
parent b43ae9d5ed
commit 500b01076e
5 changed files with 17 additions and 11 deletions

View File

@ -64,6 +64,7 @@ ConfigureGraphics::ConfigureGraphics(const Core::System& system_, QWidget* paren
if (RetrieveVulkanDevices()) {
ui->api->setEnabled(true);
ui->button_check_vulkan->hide();
for (const auto& device : vulkan_devices) {
ui->device->addItem(device);
@ -356,9 +357,6 @@ bool ConfigureGraphics::RetrieveVulkanDevices() try {
vulkan_devices.push_back(QString::fromStdString(name));
}
UISettings::values.has_broken_vulkan = false;
ui->button_check_vulkan->setVisible(false);
return true;
} catch (const Vulkan::vk::Exception& exception) {
LOG_ERROR(Frontend, "Failed to enumerate devices with error: {}", exception.what());