-updated scummvm ini parser, now shouldn't codedump

anymore
This commit is contained in:
fix94.1 2012-04-28 14:20:52 +00:00
parent 6992830ced
commit 7130e95282

View File

@ -126,7 +126,7 @@ safe_vector<dir_discHdr> Plugin::ParseScummvmINI(Config &ini, string Device)
if(game == emptyString)
break;
if(strncasecmp(game.c_str(), "/", 1) == 0 ||
lowerCase(game).rfind("scummvm") != string::npos ||
strncasecmp(lowerCase(ini.getString(game,"description")).c_str(), "/", 1) == 0 ||
lowerCase(ini.getStrings(game, "path", '/')[0]).rfind(Device.c_str()) == string::npos)
{
game = ini.nextDomain();