[Scummvm-git-logs] scummvm master -> 1e9b46e3679595e243909cbdbbea602467494007
athrxx
athrxx at scummvm.org
Sun Feb 7 02:41:16 UTC 2021
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:
1e9b46e367 AGOS: fix regression from 8d175842
Commit: 1e9b46e3679595e243909cbdbbea602467494007
https://github.com/scummvm/scummvm/commit/1e9b46e3679595e243909cbdbbea602467494007
Author: athrxx (athrxx at scummvm.org)
Date: 2021-02-07T03:40:33+01:00
Commit Message:
AGOS: fix regression from 8d175842
(assert triggered in PN due to invalid rect. The dirty rects are only used in Elvira/PC-98)
Changed paths:
engines/agos/gfx.cpp
diff --git a/engines/agos/gfx.cpp b/engines/agos/gfx.cpp
index 5cdbe718f6..3c82b075cc 100644
--- a/engines/agos/gfx.cpp
+++ b/engines/agos/gfx.cpp
@@ -940,6 +940,8 @@ void AGOSEngine::drawImage(VC10_state *state) {
xoffs = (vlut[0] * 2 + state->x) * 8;
yoffs = vlut[1] + state->y;
+ xmax = (xoffs + state->draw_width * 2);
+ ymax = (yoffs + state->draw_height);
}
state->surf_addr += xoffs + yoffs * state->surf_pitch;
More information about the Scummvm-git-logs
mailing list