mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 07:47:42 +00:00
Add Char16ToWide helper function
This commit is contained in:
@@ -640,4 +640,9 @@ std::vector<std::pair<hecl::SystemString, std::string>> GetSystemLocations()
|
||||
return ret;
|
||||
}
|
||||
|
||||
std::wstring Char16ToWide(const std::u16string& src)
|
||||
{
|
||||
return std::wstring(src.begin(), src.end());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user