Add MSVC 2022 libretro support
This commit is contained in:
parent
07c7bb40a1
commit
2f92dd73b1
|
@ -16,7 +16,7 @@ std::wstring ToUTF16(const char* utf8) {
|
|||
}
|
||||
|
||||
std::wstring result(len, 0);
|
||||
MultiByteToWideChar(CP_UTF8, 0, utf8, -1, result.data(), len);
|
||||
MultiByteToWideChar(CP_UTF8, 0, utf8, -1, (LPWSTR)result.data(), len);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue