mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-07 05:03:35 +02:00
textures.ini loader logging improvement
This commit is contained in:
@@ -403,6 +403,17 @@ std::map<std::string, std::string> Section::ToMap() const
|
||||
return outMap;
|
||||
}
|
||||
|
||||
std::vector<std::pair<std::string, std::string>> Section::ToVec() const {
|
||||
std::vector<std::pair<std::string, std::string>> outVec;
|
||||
for (std::vector<std::string>::const_iterator iter = lines.begin(); iter != lines.end(); ++iter)
|
||||
{
|
||||
std::string lineKey, lineValue;
|
||||
if (ParseLine(*iter, &lineKey, &lineValue, NULL)) {
|
||||
outVec.push_back(std::pair<std::string, std::string>(lineKey, lineValue));
|
||||
}
|
||||
}
|
||||
return outVec;
|
||||
}
|
||||
|
||||
bool Section::Delete(const char *key)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user