aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2002-10-23 17:48:01 +0000
committerPaweł Kołodziejski2002-10-23 17:48:01 +0000
commit9491c85e4e966b3226dea0c4d1702ce2754c8703 (patch)
treedab71bdbfce0cb0a0adb59bd3f0bc8cf5aeb6e9a /scumm/gfx.cpp
parentc875d15b58b1cb10eb6646bf77550c95e215b668 (diff)
downloadscummvm-rg350-9491c85e4e966b3226dea0c4d1702ce2754c8703.tar.gz
scummvm-rg350-9491c85e4e966b3226dea0c4d1702ce2754c8703.tar.bz2
scummvm-rg350-9491c85e4e966b3226dea0c4d1702ce2754c8703.zip
fix for redraw problems in nexus
svn-id: r5292
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r--scumm/gfx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index 62022077b9..aa0ed95778 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -1849,8 +1849,8 @@ void Scumm::updateDirtyRect(int virt, int left, int right, int top, int bottom,
lp = (left >> 3) + _screenStartStrip;
if (lp < 0)
lp = 0;
- if (rp >= 200)
- rp = 200;
+ if (rp >= 240)
+ rp = 240;
if (lp <= rp) {
num = rp - lp + 1;
sp = &gfxUsageBits[lp];