aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2
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/sword2
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/sword2')
-rw-r--r--engines/sword2/sword2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword2/sword2.cpp b/engines/sword2/sword2.cpp
index a2761eb5ce..10ddda7d2e 100644
--- a/engines/sword2/sword2.cpp
+++ b/engines/sword2/sword2.cpp
@@ -95,7 +95,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 SaveStateList listSaves(const char *target) const;
virtual int getMaximumSaveSlot() const;
virtual void removeSaveState(const char *target, int slot) const;
@@ -223,7 +223,7 @@ GameList detectGamesImpl(const Common::FSList &fslist, bool recursion = false) {
return detectedGames;
}
-GameList Sword2MetaEngine::detectGames(const Common::FSList &fslist) const {
+GameList Sword2MetaEngine::detectGames(const Common::FSList &fslist, bool /*useUnknownGameDialog*/) const {
return detectGamesImpl(fslist);
}