From defc19ada4f94d727531a78f0fa1574c328ef06d Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 29 Sep 2019 11:48:59 -0700 Subject: GLK: QUEST: Savegames aren't supported for Quest games --- engines/glk/quest/quest.h | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'engines/glk/quest/quest.h') 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; -- cgit v1.2.3