mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-22 17:00:05 +00:00
citra_qt: Fix invalid characters
This commit is contained in:
parent
8421be7ebf
commit
e5ba2abd1c
@ -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 New Issue
Block a user