diff options
| author | Thierry Crozat | 2016-10-01 01:47:41 +0100 | 
|---|---|---|
| committer | Thierry Crozat | 2016-10-01 01:55:01 +0100 | 
| commit | c70701d07bf126c02e75cb731071177cce717a44 (patch) | |
| tree | 6837951ee8aed15b8e1ed1d196b8203f1e1d8f17 | |
| parent | 8a96db4d3044063fbc4963bdc645f23343ae6cb6 (diff) | |
| download | scummvm-rg350-c70701d07bf126c02e75cb731071177cce717a44.tar.gz scummvm-rg350-c70701d07bf126c02e75cb731071177cce717a44.tar.bz2 scummvm-rg350-c70701d07bf126c02e75cb731071177cce717a44.zip  | |
SCUMM: Use platform from candidate to generate unknown version message
If we don't provide the platform and the candidate is a Steam version
it errors out with 'Unable to find Steam executable from detection
pattern!' message.
| -rw-r--r-- | engines/scumm/detection.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp index e6740df482..6366ffd998 100644 --- a/engines/scumm/detection.cpp +++ b/engines/scumm/detection.cpp @@ -1124,7 +1124,7 @@ Common::Error ScummMetaEngine::createInstance(OSystem *syst, Engine **engine) co  		md5Warning += Common::String::format("  SCUMM gameid '%s', file '%s', MD5 '%s'\n\n",  				res.game.gameid, -				generateFilenameForDetection(res.fp.pattern, res.fp.genMethod, Common::kPlatformUnknown).c_str(), +				generateFilenameForDetection(res.fp.pattern, res.fp.genMethod, res.game.platform).c_str(),  				res.md5.c_str());  		g_system->logMessage(LogMessageType::kWarning, md5Warning.c_str());  | 
