diff options
author | Travis Howell | 2004-09-01 12:10:41 +0000 |
---|---|---|
committer | Travis Howell | 2004-09-01 12:10:41 +0000 |
commit | b556b277fced5a9f4a70be8751f3aa500fb47a31 (patch) | |
tree | cfbcc2318c911104809a75e6c828346ec22b21f5 /scumm | |
parent | 2810a06581ce1724fdab2acf90e56ff5c21ab598 (diff) | |
download | scummvm-rg350-b556b277fced5a9f4a70be8751f3aa500fb47a31.tar.gz scummvm-rg350-b556b277fced5a9f4a70be8751f3aa500fb47a31.tar.bz2 scummvm-rg350-b556b277fced5a9f4a70be8751f3aa500fb47a31.zip |
Update debug code
svn-id: r14858
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/gfx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index 6fdd74e0c2..aa040aad4a 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -1258,8 +1258,8 @@ void Gdi::drawBitmap(const byte *ptr, VirtScreen *vs, int x, int y, const int wi dst[j] = dst2[j] = 12+i; maskbits <<= 1; } - dst += vs->width; - dst2 += vs->width; + dst += vs->pitch; + dst2 += vs->pitch; mask_ptr += _numStrips; } } |