summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/D3DCommon/Common.cpp
diff options
context:
space:
mode:
authorLC <mathew1800@gmail.com>2020-07-18 22:13:14 -0400
committerGitHub <noreply@github.com>2020-07-18 22:13:14 -0400
commit487cd7abd9f13da2969a992b78b08e65f9e20d9f (patch)
tree8477a16c66f16f5b5f25a40c1c730fa4e6544524 /Source/Core/VideoBackends/D3DCommon/Common.cpp
parent5c2b6d06267df15b352ad75862575a2c83bf0ffb (diff)
parentf5da6e07d7405d89cc550b8c02f39a432f7888a3 (diff)
Merge pull request #8905 from JosJuice/jni-encoding
Android: Use correct encoding when converting strings
Diffstat (limited to 'Source/Core/VideoBackends/D3DCommon/Common.cpp')
-rw-r--r--Source/Core/VideoBackends/D3DCommon/Common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/D3DCommon/Common.cpp b/Source/Core/VideoBackends/D3DCommon/Common.cpp
index b84fc4a4df..a80a3d6821 100644
--- a/Source/Core/VideoBackends/D3DCommon/Common.cpp
+++ b/Source/Core/VideoBackends/D3DCommon/Common.cpp
@@ -110,7 +110,7 @@ std::vector<std::string> GetAdapterNames()
std::string name;
DXGI_ADAPTER_DESC desc;
if (SUCCEEDED(adapter->GetDesc(&desc)))
- name = UTF16ToUTF8(desc.Description);
+ name = WStringToUTF8(desc.Description);
adapters.push_back(std::move(name));
}