diff options
author | Eugene Sandulenko | 2019-07-09 14:42:04 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:16 +0200 |
commit | 8403960c994caf3cbbab58a3f214e40d498e81d5 (patch) | |
tree | ed7ef7afecf5a1fcfe74e063959c76fac23c341b /engines/hdb/detection.cpp | |
parent | c71426e2f88b5c8fedd4c0e26557d868a88a650f (diff) | |
download | scummvm-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.cpp | 6 |
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); |