[Scummvm-git-logs] scummvm master -> 54b727443245d423b9a257e40a2ab72bfdbff433
elasota
noreply at scummvm.org
Mon May 8 01:30:31 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
54b7274432 VCRUISE: Pass AVI palette to fix credits crash in some versions.
Commit: 54b727443245d423b9a257e40a2ab72bfdbff433
https://github.com/scummvm/scummvm/commit/54b727443245d423b9a257e40a2ab72bfdbff433
Author: elasota (ejlasota at gmail.com)
Date: 2023-05-07T21:30:17-04:00
Commit Message:
VCRUISE: Pass AVI palette to fix credits crash in some versions.
Changed paths:
engines/vcruise/runtime.cpp
diff --git a/engines/vcruise/runtime.cpp b/engines/vcruise/runtime.cpp
index 0e64c884cac..e187bb5ef92 100644
--- a/engines/vcruise/runtime.cpp
+++ b/engines/vcruise/runtime.cpp
@@ -1848,7 +1848,7 @@ void Runtime::continuePlayingAnimation(bool loop, bool useStopFrame, bool &outAn
copyRect = copyRect.findIntersectingRect(constraintRect);
if (copyRect.isValidRect() || !copyRect.isEmpty()) {
- _gameSection.surf->blitFrom(*surface, copyRect, copyRect);
+ _gameSection.surf->blitFrom(*surface, copyRect, copyRect, _animDecoder->getPalette());
drawSectionToScreen(_gameSection, copyRect);
}
More information about the Scummvm-git-logs
mailing list