Savestates: Add quicksave/quickload. Add Android UI for savestates. All single slot for now.

This commit is contained in:
Henrik Rydgard 2013-01-02 21:00:10 +01:00
parent 28684a3ba2
commit 883f61e3dd
25 changed files with 267 additions and 91 deletions

View file

@ -376,3 +376,11 @@ std::string UriEncode(const std::string & sSrc)
delete [] pStart;
return sResult;
}
bool StringEndsWith(std::string const &fullString, std::string const &ending) {
if (fullString.length() >= ending.length()) {
return (0 == fullString.compare (fullString.length() - ending.length(), ending.length(), ending));
} else {
return false;
}
}