aboutsummaryrefslogtreecommitdiff
path: root/engines/cge
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cge')
-rw-r--r--engines/cge/detection.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/cge/detection.cpp b/engines/cge/detection.cpp
index 0c79be51d9..eb88b6cd79 100644
--- a/engines/cge/detection.cpp
+++ b/engines/cge/detection.cpp
@@ -131,7 +131,7 @@ public:
virtual bool createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const;
virtual int getMaximumSaveSlot() const;
virtual SaveStateList listSaves(const char *target) const;
- virtual Common::String getSavefilesPattern(Common::String &target) const;
+ virtual bool simpleSaveNames() const;
SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const;
virtual void removeSaveState(const char *target, int slot) const;
};
@@ -240,9 +240,7 @@ SaveStateList CGEMetaEngine::listSaves(const char *target) const {
return saveList;
}
-Common::String CGEMetaEngine::getSavefilesPattern(Common::String &target) const {
- return target + ".###";
-}
+bool CGEMetaEngine::simpleSaveNames() const { return true; }
SaveStateDescriptor CGEMetaEngine::querySaveMetaInfos(const char *target, int slot) const {
Common::String fileName = Common::String::format("%s.%03d", target, slot);