[Scummvm-git-logs] scummvm branch-2-3 -> b27d5f8fd2752df194b00c82988e7f14e65c3127

orgads orgads at gmail.com
Fri Sep 17 10:09:57 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:
b27d5f8fd2 ENGINES: Fix moving savegames to a new free slot


Commit: b27d5f8fd2752df194b00c82988e7f14e65c3127
    https://github.com/scummvm/scummvm/commit/b27d5f8fd2752df194b00c82988e7f14e65c3127
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2021-09-17T13:09:53+03:00

Commit Message:
ENGINES: Fix moving savegames to a new free slot

This was broken for most engines.

Changed paths:
    engines/metaengine.cpp


diff --git a/engines/metaengine.cpp b/engines/metaengine.cpp
index c9eb46c92c..c2dd30620e 100644
--- a/engines/metaengine.cpp
+++ b/engines/metaengine.cpp
@@ -305,9 +305,6 @@ WARN_UNUSED_RESULT bool MetaEngine::readSavegameHeader(Common::InSaveFile *in, E
 //////////////////////////////////////////////
 
 int MetaEngine::findEmptySaveSlot(const char *target) {
-	if (!hasFeature(kSavesUseExtendedFormat))
-		return -1;
-
 	Common::SaveFileManager *saveFileMan = g_system->getSavefileManager();
 	const int maxSaveSlot = getMaximumSaveSlot();
 	const int autosaveSlot = getAutosaveSlot();




More information about the Scummvm-git-logs mailing list