[Scummvm-git-logs] scummvm master -> 04cd43c9885496b6d965983362bfe514628dd7f4
AndywinXp
noreply at scummvm.org
Sat Feb 7 23:30:32 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:
04cd43c988 SCUMM: HE: Fix broken horizontally flipped clip art in FunShop games
Commit: 04cd43c9885496b6d965983362bfe514628dd7f4
https://github.com/scummvm/scummvm/commit/04cd43c9885496b6d965983362bfe514628dd7f4
Author: AndywinXp (andywinxp at gmail.com)
Date: 2026-02-08T00:30:23+01:00
Commit Message:
SCUMM: HE: Fix broken horizontally flipped clip art in FunShop games
Changed paths:
engines/scumm/he/gfx_comp/trle_comp.cpp
diff --git a/engines/scumm/he/gfx_comp/trle_comp.cpp b/engines/scumm/he/gfx_comp/trle_comp.cpp
index e90035c0a6e..1dcf58c036e 100644
--- a/engines/scumm/he/gfx_comp/trle_comp.cpp
+++ b/engines/scumm/he/gfx_comp/trle_comp.cpp
@@ -803,11 +803,12 @@ static void trleFLIPDecompressLineBackward(Wiz *wiz, WizRawPixel *destPtr, const
if (wiz->_uses16BitColor) {
dest16 -= runCount;
destPtr = (WizRawPixel *)dest16;
+ TRLEFLIP_MEMSET(destPtr + 1, *dataStream, runCount);
} else {
dest8 -= runCount;
destPtr = (WizRawPixel *)dest8;
+ TRLEFLIP_MEMSET((WizRawPixel *)(dest8 + 1), *dataStream, runCount);
}
- TRLEFLIP_MEMSET(destPtr + 1, *dataStream, runCount);
},
{
wiz->trleFLIPBackwardsPixelCopy(destPtr, dataStream, runCount, conversionTable);
@@ -891,11 +892,12 @@ static void trleFLIPLookupDecompressLineBackward(Wiz *wiz, WizRawPixel *destPtr,
if (wiz->_uses16BitColor) {
dest16 -= runCount;
destPtr = (WizRawPixel *)dest16;
+ TRLEFLIP_MEMSET(destPtr + 1, *(lookupTable + *dataStream), runCount);
} else {
dest8 -= runCount;
destPtr = (WizRawPixel *)dest8;
+ TRLEFLIP_MEMSET((WizRawPixel *)(dest8 + 1), *(lookupTable + *dataStream), runCount);
}
- TRLEFLIP_MEMSET(destPtr + 1, *(lookupTable + *dataStream), runCount);
},
{
wiz->trleFLIPBackwardsLookupPixelCopy(destPtr, dataStream, runCount, lookupTable, conversionTable);
@@ -983,7 +985,7 @@ static void trleFLIPMixDecompressLineBackward(Wiz *wiz, WizRawPixel *destPtr, co
if (!wiz->_uses16BitColor) {
dest8 -= runCount;
destPtr = (WizRawPixel *)dest8;
- wiz->trleFLIPRemapDestPixels(destPtr + 1, runCount, lookupTable + (*dataStream * 256));
+ wiz->trleFLIPRemapDestPixels((WizRawPixel *)(dest8 + 1), runCount, lookupTable + (*dataStream * 256));
} else {
dest16 -= runCount;
destPtr = (WizRawPixel *)dest16;
More information about the Scummvm-git-logs
mailing list