mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-24 21:21:05 +00:00
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.
This commit is contained in:
parent
8a96db4d30
commit
c70701d07b
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user