aboutsummaryrefslogtreecommitdiff
path: root/engines/sky
diff options
context:
space:
mode:
authorLothar Serra Mari2018-04-25 13:04:25 +0200
committerThierry Crozat2018-04-29 21:47:10 +0100
commit451cf2304f8e27b3f5aab9cfa56d7b9bcdc8ffcf (patch)
tree7787d5d3afdde669d72764928ac7ad3ad4893e2a /engines/sky
parent4220e14522c69205e08de8c2676b6fdc858e5a42 (diff)
downloadscummvm-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/sky')
-rw-r--r--engines/sky/detection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sky/detection.cpp b/engines/sky/detection.cpp
index b5425f9532..a74b63fb8c 100644
--- a/engines/sky/detection.cpp
+++ b/engines/sky/detection.cpp
@@ -79,7 +79,7 @@ public:
virtual GameList getSupportedGames() const;
virtual const ExtraGuiOptions getExtraGuiOptions(const Common::String &target) 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;
@@ -141,7 +141,7 @@ GameDescriptor SkyMetaEngine::findGame(const char *gameid) const {
return GameDescriptor();
}
-GameList SkyMetaEngine::detectGames(const Common::FSList &fslist) const {
+GameList SkyMetaEngine::detectGames(const Common::FSList &fslist, bool /*useUnknownGameDialog*/) const {
GameList detectedGames;
bool hasSkyDsk = false;
bool hasSkyDnr = false;