diff options
author | Ben Castricum | 2017-10-31 10:37:29 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-10-31 11:03:53 +0100 |
commit | a8faf239a16d7da1191530269dcee23f073eb88c (patch) | |
tree | 52303ab48c7b82f9b6b52a8c15ac3ce4b1f318da | |
parent | 91d79769cc2a0189ed106fb454e14135a995f8ee (diff) | |
download | scummvm-rg350-a8faf239a16d7da1191530269dcee23f073eb88c.tar.gz scummvm-rg350-a8faf239a16d7da1191530269dcee23f073eb88c.tar.bz2 scummvm-rg350-a8faf239a16d7da1191530269dcee23f073eb88c.zip |
SCUMM: Prevent false detection of Steam games
-rw-r--r-- | engines/scumm/detection.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp index cd2055e017..0aa993a53a 100644 --- a/engines/scumm/detection.cpp +++ b/engines/scumm/detection.cpp @@ -660,6 +660,12 @@ static void detectGames(const Common::FSList &fslist, Common::List<DetectorResul if (d.md5Entry) continue; + // Prevent executables being detected as Steam variant. If we don't + // know the md5, then it's just the regular executable. Otherwise we + // will most likely fail on trying read the index from the executable. + // Fixes bug #10290 + if (gfp->genMethod == kGenRoomNumSteam || gfp->genMethod == kGenDiskNumSteam) + continue; // ____ _ ____ // | _ \ __ _ _ __| |_ |___ \ * |