[Scummvm-git-logs] scummvm master -> 14fc9b10a5246d08e8c08c3ce2d657ca113795a0

AndywinXp noreply at scummvm.org
Tue Jun 11 20:30:43 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:
14fc9b10a5 SCUMM: HE: Fix pixel trails left by AUX images


Commit: 14fc9b10a5246d08e8c08c3ce2d657ca113795a0
    https://github.com/scummvm/scummvm/commit/14fc9b10a5246d08e8c08c3ce2d657ca113795a0
Author: AndywinXp (andywinxp at gmail.com)
Date: 2024-06-11T22:30:38+02:00

Commit Message:
SCUMM: HE: Fix pixel trails left by AUX images

We had this "+1" on the old version of the code as well...
It's not in the disasm but for now this seems easier
than going through the dirty rects code :-)

Changed paths:
    engines/scumm/actor.cpp


diff --git a/engines/scumm/actor.cpp b/engines/scumm/actor.cpp
index 99f59b1c236..4ef3f387835 100644
--- a/engines/scumm/actor.cpp
+++ b/engines/scumm/actor.cpp
@@ -3965,7 +3965,7 @@ void ScummEngine_v71he::heFlushAuxQueues() {
 				xOffset + (int16)READ_LE_UINT16(auxUpdateRectPtr + 0),
 				xOffset + (int16)READ_LE_UINT16(auxUpdateRectPtr + 4),
 				yOffset + (int16)READ_LE_UINT16(auxUpdateRectPtr + 2),
-				yOffset + (int16)READ_LE_UINT16(auxUpdateRectPtr + 6));
+				yOffset + (int16)READ_LE_UINT16(auxUpdateRectPtr + 6) + 1);
 
 			auxUpdateRectPtr += 8;
 		}
@@ -4118,7 +4118,7 @@ void ScummEngine_v90he::heFlushAuxQueues() {
 				xOffset + (int16)READ_LE_UINT16(auxUpdateRectPtr + 0),
 				xOffset + (int16)READ_LE_UINT16(auxUpdateRectPtr + 4),
 				yOffset + (int16)READ_LE_UINT16(auxUpdateRectPtr + 2),
-				yOffset + (int16)READ_LE_UINT16(auxUpdateRectPtr + 6),
+				yOffset + (int16)READ_LE_UINT16(auxUpdateRectPtr + 6) + 1,
 				actorBits);
 
 			a->setActorUpdateArea(




More information about the Scummvm-git-logs mailing list