[Scummvm-git-logs] scummvm master -> 5a2daf6ed3429755d1e609008ebb447a78f929ac

athrxx noreply at scummvm.org
Wed Aug 31 22:03:47 UTC 2022


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:
5a2daf6ed3 SCUMM: (GUI) - fix another regression


Commit: 5a2daf6ed3429755d1e609008ebb447a78f929ac
    https://github.com/scummvm/scummvm/commit/5a2daf6ed3429755d1e609008ebb447a78f929ac
Author: athrxx (athrxx at scummvm.org)
Date: 2022-09-01T00:03:16+02:00

Commit Message:
SCUMM: (GUI) - fix another regression

Changed paths:
    engines/scumm/gfx.cpp


diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp
index 44e20230ffe..d8c3de85c79 100644
--- a/engines/scumm/gfx.cpp
+++ b/engines/scumm/gfx.cpp
@@ -1661,8 +1661,7 @@ void ScummEngine::drawPixel(VirtScreen *vs, int x, int y, int16 color, bool useB
 		if (useBackbuffer)
 			*(vs->getBackPixels(x, y + _screenTop - vs->topline)) = color;
 		else
-			vs->setPixel(x, y + _screenTop - vs->topline, color);
-
+			*(vs->getPixels(x, y + _screenTop - vs->topline)) = color;
 		markRectAsDirty(vs->number, x, x + 1, y + _screenTop - vs->topline, y + 1 + _screenTop - vs->topline);
 	}
 }




More information about the Scummvm-git-logs mailing list