[Scummvm-git-logs] scummvm master -> a8faf239a16d7da1191530269dcee23f073eb88c

sev- sev at scummvm.org
Tue Oct 31 11:03:58 CET 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
a8faf239a1 SCUMM: Prevent false detection of Steam games


Commit: a8faf239a16d7da1191530269dcee23f073eb88c
    https://github.com/scummvm/scummvm/commit/a8faf239a16d7da1191530269dcee23f073eb88c
Author: Ben Castricum (github at bencastricum.nl)
Date: 2017-10-31T11:03:53+01:00

Commit Message:
SCUMM: Prevent false detection of Steam games

Changed paths:
    engines/scumm/detection.cpp


diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp
index cd2055e..0aa993a 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;
 
 		//  ____            _     ____
 		// |  _ \ __ _ _ __| |_  |___ \ *





More information about the Scummvm-git-logs mailing list