diff options
author | Alexander Tkachev | 2016-07-25 14:32:04 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | b665fc933d7d1c9e32820e5a3f24d0e3456a0ff7 (patch) | |
tree | e98f6ad4dbe2100bed8b328014a89c6080c1e5b8 /engines/mortevielle/detection.cpp | |
parent | b8fae56c6733cdb5f6e4f64266ca61105eb3155d (diff) | |
download | scummvm-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/mortevielle/detection.cpp')
-rw-r--r-- | engines/mortevielle/detection.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/mortevielle/detection.cpp b/engines/mortevielle/detection.cpp index 2f5a790486..7bc5339179 100644 --- a/engines/mortevielle/detection.cpp +++ b/engines/mortevielle/detection.cpp @@ -72,7 +72,6 @@ public: virtual bool hasFeature(MetaEngineFeature f) const; virtual int getMaximumSaveSlot() const; virtual SaveStateList listSaves(const char *target) const; - virtual bool simpleSaveNames() const; virtual SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const; }; @@ -91,6 +90,7 @@ bool MortevielleMetaEngine::hasFeature(MetaEngineFeature f) const { case kSavesSupportMetaInfo: case kSavesSupportThumbnail: case kSavesSupportCreationDate: + case kSimpleSavesNames: return true; default: return false; @@ -103,8 +103,6 @@ SaveStateList MortevielleMetaEngine::listSaves(const char *target) const { return Mortevielle::SavegameManager::listSaves(target); } -bool MortevielleMetaEngine::simpleSaveNames() const { return true; } - SaveStateDescriptor MortevielleMetaEngine::querySaveMetaInfos(const char *target, int slot) const { Common::String filename = Mortevielle::MortevielleEngine::generateSaveFilename(target, slot); return Mortevielle::SavegameManager::querySaveMetaInfos(filename); |