From 7130e9528225d4e24a156e3c31dc6d2630ad6a84 Mon Sep 17 00:00:00 2001 From: "fix94.1" Date: Sat, 28 Apr 2012 14:20:52 +0000 Subject: [PATCH] -updated scummvm ini parser, now shouldn't codedump anymore --- source/plugin/plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/plugin/plugin.cpp b/source/plugin/plugin.cpp index 977c9f6d..3a6ea4f4 100644 --- a/source/plugin/plugin.cpp +++ b/source/plugin/plugin.cpp @@ -126,7 +126,7 @@ safe_vector 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();