From b665fc933d7d1c9e32820e5a3f24d0e3456a0ff7 Mon Sep 17 00:00:00 2001 From: Alexander Tkachev Date: Mon, 25 Jul 2016 14:32:04 +0600 Subject: 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. --- engines/tony/detection.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'engines/tony') diff --git a/engines/tony/detection.cpp b/engines/tony/detection.cpp index 5dda4c7caf..ec0b3e186b 100644 --- a/engines/tony/detection.cpp +++ b/engines/tony/detection.cpp @@ -82,7 +82,6 @@ public: virtual bool hasFeature(MetaEngineFeature f) const; virtual bool createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const; virtual SaveStateList listSaves(const char *target) const; - virtual bool simpleSaveNames() const; virtual int getMaximumSaveSlot() const; virtual void removeSaveState(const char *target, int slot) const; SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const; @@ -142,8 +141,6 @@ SaveStateList TonyMetaEngine::listSaves(const char *target) const { return saveList; } -bool TonyMetaEngine::simpleSaveNames() const { return false; } - int TonyMetaEngine::getMaximumSaveSlot() const { return 99; } -- cgit v1.2.3