[Scummvm-git-logs] scummvm branch-2-9 -> 0265f4256013db1b0ea4f3d12a3399557add4b95

mgerhardy noreply at scummvm.org
Wed May 7 07:38: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:
0265f42560 TWINE: LBA: Exiting back to launcher from 2:21 logo screen throws Assertion Failure


Commit: 0265f4256013db1b0ea4f3d12a3399557add4b95
    https://github.com/scummvm/scummvm/commit/0265f4256013db1b0ea4f3d12a3399557add4b95
Author: Martin Gerhardy (martin.gerhardy at gmail.com)
Date: 2025-05-06T23:16:22+02:00

Commit Message:
TWINE: LBA: Exiting back to launcher from 2:21 logo screen throws Assertion Failure

see https://bugs.scummvm.org/ticket/15911

Changed paths:
    engines/twine/movies.cpp


diff --git a/engines/twine/movies.cpp b/engines/twine/movies.cpp
index b566b923759..d08b9090b32 100644
--- a/engines/twine/movies.cpp
+++ b/engines/twine/movies.cpp
@@ -458,7 +458,10 @@ bool Movies::playMovie(const char *name) { // PlayAnimFla
 		warning("Unsupported fla version: %u, %s", version, fileNamePath.c_str());
 	}
 
-	_engine->_screens->fadeToBlack(_paletteOrg);
+	// this might happen if the movie was interrupted before it even started to load the palette.
+	if (_paletteOrg.size() > 0) {
+		_engine->_screens->fadeToBlack(_paletteOrg);
+	}
 
 	_engine->_sound->stopSamples();
 	_engine->_screens->setBlackPal();




More information about the Scummvm-git-logs mailing list