aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1
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/sword1
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/sword1')
-rw-r--r--engines/sword1/detection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword1/detection.cpp b/engines/sword1/detection.cpp
index 0b81690bc5..ddfc4b8c14 100644
--- a/engines/sword1/detection.cpp
+++ b/engines/sword1/detection.cpp
@@ -89,7 +89,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 SaveStateList listSaves(const char *target) const;
virtual int getMaximumSaveSlot() const;
virtual void removeSaveState(const char *target, int slot) const;
@@ -175,7 +175,7 @@ void Sword1CheckDirectory(const Common::FSList &fslist, bool *filesFound, bool r
}
}
-GameList SwordMetaEngine::detectGames(const Common::FSList &fslist) const {
+GameList SwordMetaEngine::detectGames(const Common::FSList &fslist, bool /*useUnknownGameDialog*/) const {
int i, j;
GameList detectedGames;
bool filesFound[NUM_FILES_TO_CHECK];