[Scummvm-git-logs] scummvm master -> 59f752c083bc64a0a9c12391e7f89dc26b563f02
AndywinXp
noreply at scummvm.org
Sat Jun 29 21:21:55 UTC 2024
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:
59f752c083 SCUMM: HE/FREDDI3: Provide better solution for bug #13532
Commit: 59f752c083bc64a0a9c12391e7f89dc26b563f02
https://github.com/scummvm/scummvm/commit/59f752c083bc64a0a9c12391e7f89dc26b563f02
Author: AndywinXp (andywinxp at gmail.com)
Date: 2024-06-29T23:21:47+02:00
Commit Message:
SCUMM: HE/FREDDI3: Provide better solution for bug #13532
"SCUMM/HE: Flashing line at bottom of screen in Freddi 3"
This solves #13532 in a better way: instead of moving the
animation down by one pixel, we simply avoid marking that
line of stray pixels as part of the dirty rectangle.
We remove two pixels since AkosRenderer::paintCelByleRLE()
is going to add one pixel to the rect during the clipping part.
Changed paths:
engines/scumm/akos.cpp
diff --git a/engines/scumm/akos.cpp b/engines/scumm/akos.cpp
index a3cd1603d4b..7a57ba30e87 100644
--- a/engines/scumm/akos.cpp
+++ b/engines/scumm/akos.cpp
@@ -418,7 +418,7 @@ byte AkosRenderer::drawLimb(const Actor *a, int limb) {
// and an horizontal line at the bottom, causing this line to appear at the bottom of the screen.
// We draw the whole frame one pixel down so it does not appear on screen.
if (_vm->_game.id == GID_FREDDI3 && _vm->_language == Common::EN_USA && a->_costume == 258 && (code & AKC_CelMask) == 35 && _vm->enhancementEnabled(kEnhVisualChanges))
- yMoveCur += 1;
+ _clipOverride.bottom -= 2;
if (i == extra - 1) {
_xMove += lastDx;
More information about the Scummvm-git-logs
mailing list