[Scummvm-git-logs] scummvm master -> 1b380a9e0b4fd3e41d50e9f2c72f06411b1256e1

bluegr bluegr at gmail.com
Thu Sep 16 22:58:25 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:
1b380a9e0b ENGINES: Fix moving savegames to a new free slot


Commit: 1b380a9e0b4fd3e41d50e9f2c72f06411b1256e1
    https://github.com/scummvm/scummvm/commit/1b380a9e0b4fd3e41d50e9f2c72f06411b1256e1
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2021-09-17T01:58:22+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