[Scummvm-git-logs] scummvm master -> 342cb9a36d90b569a061b469cb1f9c4d088a44a6
athrxx
noreply at scummvm.org
Wed Aug 31 21:06:14 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:
342cb9a36d SCUMM: fix regression/typo
Commit: 342cb9a36d90b569a061b469cb1f9c4d088a44a6
https://github.com/scummvm/scummvm/commit/342cb9a36d90b569a061b469cb1f9c4d088a44a6
Author: athrxx (athrxx at scummvm.org)
Date: 2022-08-31T23:05:45+02:00
Commit Message:
SCUMM: fix regression/typo
(from 7932cf7 )
Changed paths:
engines/scumm/gfx.cpp
diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp
index c39929edab6..44e20230ffe 100644
--- a/engines/scumm/gfx.cpp
+++ b/engines/scumm/gfx.cpp
@@ -1659,7 +1659,7 @@ void ScummEngine::drawLine(int x1, int y1, int x2, int y2, int color) {
void ScummEngine::drawPixel(VirtScreen *vs, int x, int y, int16 color, bool useBackbuffer) {
if (x >= 0 && y >= 0 && _screenWidth + 8 > x && _screenHeight > y) {
if (useBackbuffer)
- vs->setPixel(x, y + _screenTop - vs->topline, color);
+ *(vs->getBackPixels(x, y + _screenTop - vs->topline)) = color;
else
vs->setPixel(x, y + _screenTop - vs->topline, color);
More information about the Scummvm-git-logs
mailing list