bugfixes for patches and isoproperties (and starting on edit/add patches)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1370 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman
2008-12-01 20:55:45 +00:00
parent 751124bb68
commit 9a7a02fe63
6 changed files with 118 additions and 24 deletions

View File

@@ -70,6 +70,10 @@ void LoadPatchSection(const char *section, std::vector<Patch> &patches, IniFile
continue;
}
std::string::size_type loc = line.find_first_of('=', 0);
if (loc != std::string::npos)
line.at(loc) = ':';
std::vector<std::string> items;
SplitString(line, ":", items);
if (items.size() >= 3) {