[Scummvm-cvs-logs] SF.net SVN: scummvm: [21944] scummvm/trunk/engines/scumm/plugin.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sun Apr 16 07:09:01 CEST 2006
Revision: 21944
Author: fingolfin
Date: 2006-04-16 07:07:55 -0700 (Sun, 16 Apr 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=21944&view=rev
Log Message:
-----------
Ignore the 'virtual' HE entries at the end of gameVariantsTable (this fixes an odd detector problem)
Modified Paths:
--------------
scummvm/trunk/engines/scumm/plugin.cpp
Modified: scummvm/trunk/engines/scumm/plugin.cpp
===================================================================
--- scummvm/trunk/engines/scumm/plugin.cpp 2006-04-16 13:58:11 UTC (rev 21943)
+++ scummvm/trunk/engines/scumm/plugin.cpp 2006-04-16 14:07:55 UTC (rev 21944)
@@ -1385,7 +1385,7 @@
// HACK: For now we only consider the first ("default") variant for
// gameids that have multiple variants. In a future version of the
// detector code, this may change.
- if (0 == strcmp(lastGameid, g->gameid))
+ if (0 == strcmp(lastGameid, g->gameid) || *(g->gameid) == 0)
continue;
lastGameid = g->gameid;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list