diff options
| -rw-r--r-- | engines/glk/quest/quest.cpp | 8 | ||||
| -rw-r--r-- | engines/glk/quest/quest.h | 19 | 
2 files changed, 14 insertions, 13 deletions
| diff --git a/engines/glk/quest/quest.cpp b/engines/glk/quest/quest.cpp index 15d5eda8d0..cbddedaba8 100644 --- a/engines/glk/quest/quest.cpp +++ b/engines/glk/quest/quest.cpp @@ -145,13 +145,5 @@ void Quest::deinitialize() {  	Streams::deinitialize();  } -Common::Error Quest::readSaveData(Common::SeekableReadStream *rs) { -	return Common::kNoError; -} - -Common::Error Quest::writeGameData(Common::WriteStream *ws) { -	return Common::kNoError; -} -  } // End of namespace Quest  } // End of namespace Glk diff --git a/engines/glk/quest/quest.h b/engines/glk/quest/quest.h index 87775600a8..cb0994db5e 100644 --- a/engines/glk/quest/quest.h +++ b/engines/glk/quest/quest.h @@ -71,15 +71,24 @@ public:  	}  	/** -	 * Load a savegame from the passed Quetzal file chunk stream +	 * Savegames aren't supported for Quest games  	 */ -	virtual Common::Error readSaveData(Common::SeekableReadStream *rs) override; +	virtual bool canLoadGameStateCurrently() override { return false; }  	/** -	 * Save the game. The passed write stream represents access to the UMem chunk -	 * in the Quetzal save file that will be created +	 * Savegames aren't supported for Quest games  	 */ -	virtual Common::Error writeGameData(Common::WriteStream *ws) override; +	virtual bool canSaveGameStateCurrently() override { return false; } + +	/** +	 * Savegames aren't supported for Quest games +	 */ +	virtual Common::Error readSaveData(Common::SeekableReadStream *rs) override { return Common::kUnknownError; } + +	/** +	 * Savegames aren't supported for Quest games +	 */ +	virtual Common::Error writeGameData(Common::WriteStream *ws) override { return Common::kUnknownError; }  };  extern Quest *g_vm; | 
