citra_qt: Fix invalid characters

This commit is contained in:
GPUCode 2023-08-14 18:14:34 +03:00
parent 8421be7ebf
commit e5ba2abd1c

View file

@ -12,7 +12,7 @@ std::vector<QString> GetVulkanPhysicalDevices() {
const auto physical_devices = instance.GetPhysicalDevices();
for (const vk::PhysicalDevice physical_device : physical_devices) {
const QString name = QString::fromLocal8Bit(physical_device.getProperties().deviceName);
const QString name = QString::fromUtf8(physical_device.getProperties().deviceName, -1);
result.push_back(name);
}
} catch (const std::runtime_error& err) {