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 1c86df458b..7e6afc8364 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -244,8 +244,8 @@ void blit(byte *dst, byte *src, int w, int h)
do {
memcpy(dst, src, w);
- dst += 320;
- src += 320;
+ dst += _vm->_realWidth;
+ src += _vm->_realWidth;
} while (--h);
}