[Scummvm-git-logs] scummvm master -> 746b328efee9673da953a66d6e57036adaf87e5e
sev-
noreply at scummvm.org
Thu Jul 23 13:57:44 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:
746b328efe DIRECTOR: Refuse to save Afterburner movies
Commit: 746b328efee9673da953a66d6e57036adaf87e5e
https://github.com/scummvm/scummvm/commit/746b328efee9673da953a66d6e57036adaf87e5e
Author: Gianluca Boiano (morf3089 at gmail.com)
Date: 2026-07-23T15:57:41+02:00
Commit Message:
DIRECTOR: Refuse to save Afterburner movies
writeAfterBurnerMap() is a stub, so a saved FGDM/FGDC archive was
silently written with no resource map. Bail out before creating the
save file.
Fixes corrupt saves for games with compressed movies (e.g. loewe7)
Changed paths:
engines/director/archive-save.cpp
diff --git a/engines/director/archive-save.cpp b/engines/director/archive-save.cpp
index 185482cfd4e..07ec1a0ccf3 100644
--- a/engines/director/archive-save.cpp
+++ b/engines/director/archive-save.cpp
@@ -41,6 +41,11 @@
namespace Director {
bool RIFXArchive::writeToFile(Common::String filename, Movie *movie) {
+ if (_rifxType == MKTAG('F', 'G', 'D', 'M') || _rifxType == MKTAG('F', 'G', 'D', 'C')) {
+ warning("STUB: RIFXArchive::writeToFile(): saving Afterburner movies is not supported");
+ return false;
+ }
+
// If the filename is empty, we save the movie with the name of the current movie
if (filename.empty()) {
filename = movie->getMacName();
@@ -75,10 +80,6 @@ bool RIFXArchive::writeToFile(Common::String filename, Movie *movie) {
writeMemoryMap(saveFile, builtResources);
break;
- case MKTAG('F', 'G', 'D', 'M'):
- case MKTAG('F', 'G', 'D', 'C'):
- writeAfterBurnerMap(saveFile);
- break;
default:
break;
}
More information about the Scummvm-git-logs
mailing list