diff options
author | Max Horn | 2006-04-16 14:07:55 +0000 |
---|---|---|
committer | Max Horn | 2006-04-16 14:07:55 +0000 |
commit | fe01f3a03f879d518f2952025aad5b724d8ad54a (patch) | |
tree | 2b561dd77672cee90147e1cebcb08a7208f5dbcb /engines | |
parent | 555a568e596b3d4dfe992689e8bc805d5feebfb2 (diff) | |
download | scummvm-rg350-fe01f3a03f879d518f2952025aad5b724d8ad54a.tar.gz scummvm-rg350-fe01f3a03f879d518f2952025aad5b724d8ad54a.tar.bz2 scummvm-rg350-fe01f3a03f879d518f2952025aad5b724d8ad54a.zip |
Ignore the 'virtual' HE entries at the end of gameVariantsTable (this fixes an odd detector problem)
svn-id: r21944
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/plugin.cpp b/engines/scumm/plugin.cpp index a7b27b4856..a389972236 100644 --- a/engines/scumm/plugin.cpp +++ b/engines/scumm/plugin.cpp @@ -1385,7 +1385,7 @@ DetectedGameList Engine_SCUMM_detectGames(const FSList &fslist) { // 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; |