citra_android: Storage Access Framework implementation (#6313)
This commit is contained in:
parent
8c12eb4905
commit
8d563d37b4
68 changed files with 1972 additions and 545 deletions
|
@ -123,6 +123,12 @@ std::string TabsToSpaces(int tab_size, std::string in) {
|
|||
return in;
|
||||
}
|
||||
|
||||
bool EndsWith(const std::string& value, const std::string& ending) {
|
||||
if (ending.size() > value.size())
|
||||
return false;
|
||||
return std::equal(ending.rbegin(), ending.rend(), value.rbegin());
|
||||
}
|
||||
|
||||
std::string ReplaceAll(std::string result, const std::string& src, const std::string& dest) {
|
||||
std::size_t pos = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue