citra_qt: Fix invalid characters
This commit is contained in:
parent
8421be7ebf
commit
e5ba2abd1c
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue