[Scummvm-git-logs] scummvm master -> c8c429a425b39cbc6f8bd3c0889b0a94fdab796d
bluegr
bluegr at gmail.com
Fri Sep 10 16:38:41 UTC 2021
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:
c8c429a425 ENGINES: Document -1 as return value of getAutosaveSlot when not supported
Commit: c8c429a425b39cbc6f8bd3c0889b0a94fdab796d
https://github.com/scummvm/scummvm/commit/c8c429a425b39cbc6f8bd3c0889b0a94fdab796d
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2021-09-10T19:38:39+03:00
Commit Message:
ENGINES: Document -1 as return value of getAutosaveSlot when not supported
Changed paths:
engines/engine.h
engines/metaengine.h
diff --git a/engines/engine.h b/engines/engine.h
index ebe83c26fd..e0d124a4be 100644
--- a/engines/engine.h
+++ b/engines/engine.h
@@ -631,7 +631,8 @@ public:
}
/**
- * Return the slot that should be used for autosaves.
+ * Return the slot that should be used for autosaves, or -1 for engines that
+ * don't support autosave.
*
* @note This should match the meta engine getAutosaveSlot() method.
*/
diff --git a/engines/metaengine.h b/engines/metaengine.h
index a0c72bac10..eaaa9ec077 100644
--- a/engines/metaengine.h
+++ b/engines/metaengine.h
@@ -305,7 +305,8 @@ public:
SaveStateList listSaves(const char *target, bool saveMode) const;
/**
- * Return the slot number that is used for autosaves.
+ * Return the slot number that is used for autosaves, or -1 for engines that
+ * don't support autosave.
*
* @note This should match the engine getAutosaveSlot() method.
*/
More information about the Scummvm-git-logs
mailing list