[Scummvm-git-logs] scummvm master -> c82d89eede51e3e0def095927b0d6fd674916e63

AndywinXp noreply at scummvm.org
Sun Feb 8 12:46:59 UTC 2026


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

Summary:
c82d89eede SCUMM: HE: Fix #16472


Commit: c82d89eede51e3e0def095927b0d6fd674916e63
    https://github.com/scummvm/scummvm/commit/c82d89eede51e3e0def095927b0d6fd674916e63
Author: AndywinXp (andywinxp at gmail.com)
Date: 2026-02-08T13:46:50+01:00

Commit Message:
SCUMM: HE: Fix #16472

"SCUMM: PUTTSFUNSHOP: Loading does not work"

This is because these games want to seek files, and it's
not supported on compressed files.

Since the root cause of this issue was affecting the
write phase of the save states, it means that previous
savefiles won't work. But hey, they didn't work before
either, right? ;-)

Changed paths:
    engines/scumm/he/script_v60he.cpp


diff --git a/engines/scumm/he/script_v60he.cpp b/engines/scumm/he/script_v60he.cpp
index 9b6cfaa8059..669a94bdb1d 100644
--- a/engines/scumm/he/script_v60he.cpp
+++ b/engines/scumm/he/script_v60he.cpp
@@ -225,8 +225,9 @@ Common::SeekableReadStream *ScummEngine_v60he::openSaveFileForReading(const byte
 }
 
 Common::SeekableWriteStream *ScummEngine_v60he::openSaveFileForWriting(const byte *fileName) {
-	// HACK: Disable compression for Moonbase.  Fixes custom map saving.
-	return _saveFileMan->openForSaving(convertSavePath(fileName), _game.id != GID_MOONBASE);
+	// HACK: Disable compression for games which need seeking operations
+	bool gameCanCompress = _game.id != GID_MOONBASE && _game.id != GID_FUNSHOP;
+	return _saveFileMan->openForSaving(convertSavePath(fileName), gameCanCompress);
 }
 
 void ScummEngine_v60he::deleteSaveFile(const byte *fileName) {




More information about the Scummvm-git-logs mailing list