mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-27 06:48:33 +00:00
Import/Export signature files as CSV
This commit is contained in:
parent
f431b18675
commit
a6114bad34
16 changed files with 306 additions and 105 deletions
|
@ -373,6 +373,16 @@ std::string ReplaceAll(std::string result, const std::string& src, const std::st
|
|||
return result;
|
||||
}
|
||||
|
||||
bool StringBeginsWith(const std::string& str, const std::string& begin)
|
||||
{
|
||||
return str.size() >= begin.size() && std::equal(begin.begin(), begin.end(), str.begin());
|
||||
}
|
||||
|
||||
bool StringEndsWith(const std::string& str, const std::string& end)
|
||||
{
|
||||
return str.size() >= end.size() && std::equal(end.rbegin(), end.rend(), str.rbegin());
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
std::string UTF16ToUTF8(const std::wstring& input)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue