aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/detection.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2019-07-09 14:42:04 +0200
committerEugene Sandulenko2019-09-03 17:17:16 +0200
commit8403960c994caf3cbbab58a3f214e40d498e81d5 (patch)
treeed7ef7afecf5a1fcfe74e063959c76fac23c341b /engines/hdb/detection.cpp
parentc71426e2f88b5c8fedd4c0e26557d868a88a650f (diff)
downloadscummvm-rg350-8403960c994caf3cbbab58a3f214e40d498e81d5.tar.gz
scummvm-rg350-8403960c994caf3cbbab58a3f214e40d498e81d5.tar.bz2
scummvm-rg350-8403960c994caf3cbbab58a3f214e40d498e81d5.zip
HDB: Added more code for loading save states from the command line
Diffstat (limited to 'engines/hdb/detection.cpp')
-rw-r--r--engines/hdb/detection.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/hdb/detection.cpp b/engines/hdb/detection.cpp
index 5169450910..a63b85fe89 100644
--- a/engines/hdb/detection.cpp
+++ b/engines/hdb/detection.cpp
@@ -107,13 +107,17 @@ public:
}
virtual bool hasFeature(MetaEngineFeature f) const;
+ virtual int getMaximumSaveSlot() const;
virtual bool createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const;
};
bool HDBMetaEngine::hasFeature(MetaEngineFeature f) const {
- return false;
+ return
+ (f == kSupportsLoadingDuringStartup);
}
+int HDBMetaEngine::getMaximumSaveSlot() const { return 9; }
+
bool HDBMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const {
if (desc) {
*engine = new HDB::HDBGame(syst, desc);