-fixed reading scummvm games from sd card

This commit is contained in:
fix94.1 2012-05-21 20:03:28 +00:00
parent 314df44949
commit e7e0e02dcd

View File

@ -196,9 +196,9 @@ vector<dir_discHdr> Plugin::ParseScummvmINI(Config &ini, string Device)
{
if(game == emptyString || game == emptyString2)
break;
GameName = ini.getString(game,"description");
GameName = ini.getString(game, "description");
if(GameName == emptyString || GameName == emptyString2 ||
strncasecmp(ini.getWString(game, "path").toUTF8().c_str(), Device.c_str(), 3) != 0)
strncasecmp(ini.getWString(game, "path").toUTF8().c_str(), Device.c_str(), 2) != 0)
{
game = ini.nextDomain();
continue;