* Start to fill in save related classes

* Fix silly bug in WiiSave
* Fix typos in Utilitiy.*
This commit is contained in:
2014-11-28 19:32:37 -08:00
parent fea9a45a5c
commit be135d1caa
25 changed files with 476 additions and 122 deletions

View File

@@ -47,7 +47,7 @@ atUint32 BigUint32(atUint32& val);
atInt64 LittleInt64(atInt64& val);
atUint64 LittleUint64(atUint64& val);
atInt64 BigInt64(atInt64& val);
atUint16 BigUint64(atUint16& val);
atUint64 BigUint64(atUint64& val);
float LittleFloat(float& val);
float BigFloat(float& val);
@@ -66,6 +66,14 @@ bool parseBool(const std::string& boolean, bool* valid = NULL);
int countChar(const std::string& str, const char chr, int* lastOccur = NULL);
// trim from start
std::string &ltrim(std::string &s);
// trim from end
std::string &rtrim(std::string &s);
// trim from both ends
std::string &trim(std::string &s);
atUint64 fileSize(FILE* f);
} // utility
} // Athena