diff options
| author | Jordi Vilalta Prat | 2008-11-15 10:50:57 +0000 | 
|---|---|---|
| committer | Jordi Vilalta Prat | 2008-11-15 10:50:57 +0000 | 
| commit | 402f8c388fdaa1f496761eb299866643b0ae6064 (patch) | |
| tree | 64e344464479e702f7576742302fda1648a85a5e | |
| parent | 194a10c77cd04b3ae218b908ba6db0aeb7894cd8 (diff) | |
| download | scummvm-rg350-402f8c388fdaa1f496761eb299866643b0ae6064.tar.gz scummvm-rg350-402f8c388fdaa1f496761eb299866643b0ae6064.tar.bz2 scummvm-rg350-402f8c388fdaa1f496761eb299866643b0ae6064.zip | |
Added GroovieMetaEngine::getMaximumSaveSlot()
svn-id: r35077
| -rw-r--r-- | engines/groovie/detection.cpp | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/engines/groovie/detection.cpp b/engines/groovie/detection.cpp index 52d60f4572..f52c4eb713 100644 --- a/engines/groovie/detection.cpp +++ b/engines/groovie/detection.cpp @@ -174,6 +174,7 @@ public:  	bool hasFeature(MetaEngineFeature f) const;  	SaveStateList listSaves(const char *target) const; +	int getMaximumSaveSlot() const;  	void removeSaveState(const char *target, int slot) const;  }; @@ -241,6 +242,10 @@ SaveStateList GroovieMetaEngine::listSaves(const char *target) const {  	return list;  } +int GroovieMetaEngine::getMaximumSaveSlot() const { +	return 9; +} +  void GroovieMetaEngine::removeSaveState(const char *target, int slot) const {  	if (slot < 0 || slot > 9) {  		// Invalid slot, do nothing | 
