aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
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];