[Scummvm-git-logs] scummvm master -> 86985fa029652dec44c625915b655cba3548bc6c

neuromancer noreply at scummvm.org
Sun May 1 19:21:38 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
86985fa029 HYPNO: disable default autosave implementation for all hypno games


Commit: 86985fa029652dec44c625915b655cba3548bc6c
    https://github.com/scummvm/scummvm/commit/86985fa029652dec44c625915b655cba3548bc6c
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2022-05-01T21:13:19+02:00

Commit Message:
HYPNO: disable default autosave implementation for all hypno games

Changed paths:
    engines/hypno/hypno.h


diff --git a/engines/hypno/hypno.h b/engines/hypno/hypno.h
index 9559394cb58..8749f343598 100644
--- a/engines/hypno/hypno.h
+++ b/engines/hypno/hypno.h
@@ -478,6 +478,10 @@ public:
 	void loadGame(const Common::String &nextLevel, int score, int puzzleDifficulty, int combatDifficulty) override;
 	Common::Error loadGameStream(Common::SeekableReadStream *stream) override;
 	Common::Error saveGameStream(Common::WriteStream *stream, bool isAutosave = false) override;
+	bool canSaveAutosaveCurrently() override {
+		return false; // No hypno engine should perform autosave using the default implementation
+	}
+
 	bool hasFeature(EngineFeature f) const override {
 		return (f == kSupportsSavingDuringRuntime || f == kSupportsLoadingDuringRuntime);
 	}




More information about the Scummvm-git-logs mailing list