diff options
author | Lothar Serra Mari | 2018-04-25 13:04:25 +0200 |
---|---|---|
committer | Thierry Crozat | 2018-04-29 21:47:10 +0100 |
commit | 451cf2304f8e27b3f5aab9cfa56d7b9bcdc8ffcf (patch) | |
tree | 7787d5d3afdde669d72764928ac7ad3ad4893e2a /engines/scumm/detection.cpp | |
parent | 4220e14522c69205e08de8c2676b6fdc858e5a42 (diff) | |
download | scummvm-rg350-451cf2304f8e27b3f5aab9cfa56d7b9bcdc8ffcf.tar.gz scummvm-rg350-451cf2304f8e27b3f5aab9cfa56d7b9bcdc8ffcf.tar.bz2 scummvm-rg350-451cf2304f8e27b3f5aab9cfa56d7b9bcdc8ffcf.zip |
ENGINES: Show the unknown Game dialog only when the detector is launched by the Add Game feature
Diffstat (limited to 'engines/scumm/detection.cpp')
-rw-r--r-- | engines/scumm/detection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp index 0aa993a53a..37302e31d7 100644 --- a/engines/scumm/detection.cpp +++ b/engines/scumm/detection.cpp @@ -961,7 +961,7 @@ public: virtual bool hasFeature(MetaEngineFeature f) const; virtual GameList getSupportedGames() const; virtual GameDescriptor findGame(const char *gameid) const; - virtual GameList detectGames(const Common::FSList &fslist) const; + virtual GameList detectGames(const Common::FSList &fslist, bool useUnknownGameDialog = false) const; virtual Common::Error createInstance(OSystem *syst, Engine **engine) const; @@ -1026,7 +1026,7 @@ static Common::String generatePreferredTarget(const DetectorResult &x) { return res; } -GameList ScummMetaEngine::detectGames(const Common::FSList &fslist) const { +GameList ScummMetaEngine::detectGames(const Common::FSList &fslist, bool /*useUnknownGameDialog*/) const { GameList detectedGames; Common::List<DetectorResult> results; |