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

dreammaster dreammaster at scummvm.org
Thu Sep 2 04:41:58 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:
1fa744d6b6 AGS: Correct save files to be created without compression


Commit: 1fa744d6b6c3eabc94e7c9c4eb853e87945d3559
    https://github.com/scummvm/scummvm/commit/1fa744d6b6c3eabc94e7c9c4eb853e87945d3559
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2021-09-01T21:38:37-07:00

Commit Message:
AGS: Correct save files to be created without compression

Changed paths:
    engines/ags/shared/util/file_stream.cpp


diff --git a/engines/ags/shared/util/file_stream.cpp b/engines/ags/shared/util/file_stream.cpp
index 74cad944b3..562cea9064 100644
--- a/engines/ags/shared/util/file_stream.cpp
+++ b/engines/ags/shared/util/file_stream.cpp
@@ -212,7 +212,6 @@ String FileStream::getSaveName(const String &filename) {
 }
 
 Common::OutSaveFile *FileStream::openForWriting(const String &saveName, FileOpenMode open_mode, FileWorkMode work_mode) {
-	bool seek0 = false, duplicate = false;
 	assert(open_mode != kFile_Open);
 
 	if (work_mode == kFile_Read || work_mode == kFile_ReadWrite)
@@ -242,7 +241,7 @@ Common::OutSaveFile *FileStream::openForWriting(const String &saveName, FileOpen
 		return out;
 	}
 
-	return g_system->getSavefileManager()->openForSaving(saveName);
+	return g_system->getSavefileManager()->openForSaving(saveName, false);
 }
 
 } // namespace Shared




More information about the Scummvm-git-logs mailing list