[Scummvm-git-logs] scummvm master -> a6d36a69a16824b4e29255b80c28ec4f413d63dc
aquadran
noreply at scummvm.org
Sat Sep 20 14:17:49 UTC 2025
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:
a6d36a69a1 WINTERMUTE: Enable write support for append mode as non-append
Commit: a6d36a69a16824b4e29255b80c28ec4f413d63dc
https://github.com/scummvm/scummvm/commit/a6d36a69a16824b4e29255b80c28ec4f413d63dc
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2025-09-20T16:17:43+02:00
Commit Message:
WINTERMUTE: Enable write support for append mode as non-append
Changed paths:
engines/wintermute/base/scriptables/script_ext_file.cpp
diff --git a/engines/wintermute/base/scriptables/script_ext_file.cpp b/engines/wintermute/base/scriptables/script_ext_file.cpp
index 0031ed1379b..a6204c53c35 100644
--- a/engines/wintermute/base/scriptables/script_ext_file.cpp
+++ b/engines/wintermute/base/scriptables/script_ext_file.cpp
@@ -817,7 +817,8 @@ Common::WriteStream *SXFile::openForWrite(const Common::String &filename, bool b
// Should replace fopen(..., "ab+") and fopen(..., "a+")
Common::WriteStream *SXFile::openForAppend(const Common::String &filename, bool binary) {
- error("SXFile::openForAppend - WriteFiles not supported");
+ warning("SXFile::openForAppend - WriteFiles with limited support as non-append mode");
+ return BaseFileManager::getEngineInstance()->openFileForWrite(_filename);
}
} // End of namespace Wintermute
More information about the Scummvm-git-logs
mailing list