aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage
diff options
context:
space:
mode:
authorAlexander Tkachev2016-07-25 14:32:04 +0600
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commitb665fc933d7d1c9e32820e5a3f24d0e3456a0ff7 (patch)
treee98f6ad4dbe2100bed8b328014a89c6080c1e5b8 /engines/tsage
parentb8fae56c6733cdb5f6e4f64266ca61105eb3155d (diff)
downloadscummvm-rg350-b665fc933d7d1c9e32820e5a3f24d0e3456a0ff7.tar.gz
scummvm-rg350-b665fc933d7d1c9e32820e5a3f24d0e3456a0ff7.tar.bz2
scummvm-rg350-b665fc933d7d1c9e32820e5a3f24d0e3456a0ff7.zip
ALL: Make simpleSaveNames() a MetaEngineFeature
Added it into hasFeature() of all engines which returned `true` in simpleSaveNames() before. As mentioned in #788, SCI is not always using simple names, so it doesn't have such feature now.
Diffstat (limited to 'engines/tsage')
-rw-r--r--engines/tsage/detection.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/tsage/detection.cpp b/engines/tsage/detection.cpp
index 716ac4af53..e476391f71 100644
--- a/engines/tsage/detection.cpp
+++ b/engines/tsage/detection.cpp
@@ -95,6 +95,7 @@ public:
case kSavesSupportThumbnail:
case kSavesSupportCreationDate:
case kSavesSupportPlayTime:
+ case kSimpleSavesNames:
return true;
default:
return false;
@@ -145,8 +146,6 @@ public:
return saveList;
}
- virtual bool simpleSaveNames() const { return true; }
-
virtual int getMaximumSaveSlot() const {
return MAX_SAVES - 1;
}