From e7e0e02dcdc793be0a4de3f36795a1a2c0b4ea69 Mon Sep 17 00:00:00 2001 From: "fix94.1" Date: Mon, 21 May 2012 20:03:28 +0000 Subject: [PATCH] -fixed reading scummvm games from sd card --- source/plugin/plugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/plugin/plugin.cpp b/source/plugin/plugin.cpp index 4369ad00..7e7c027a 100644 --- a/source/plugin/plugin.cpp +++ b/source/plugin/plugin.cpp @@ -196,9 +196,9 @@ vector 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;