[Scummvm-git-logs] scummvm master -> 1874ac291bf435ae79856f2c3e5921ba7f28eb14

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


Commit: 1874ac291bf435ae79856f2c3e5921ba7f28eb14
    https://github.com/scummvm/scummvm/commit/1874ac291bf435ae79856f2c3e5921ba7f28eb14
Author: Martin Gerhardy (martin.gerhardy at gmail.com)
Date: 2025-05-06T23:12:13+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 958216e537f..67e4b2f0a43 100644
--- a/engines/twine/movies.cpp
+++ b/engines/twine/movies.cpp
@@ -464,7 +464,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.empty()) {
+		_engine->_screens->fadeToBlack(_paletteOrg);
+	}
 
 	_engine->_sound->stopSamples();
 	_engine->_screens->setBlackPal();




More information about the Scummvm-git-logs mailing list