diff options
author | Paweł Kołodziejski | 2003-08-18 20:28:57 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-08-18 20:28:57 +0000 |
commit | fe94648dd652a8c7f40d1653e0753e9da04005dd (patch) | |
tree | 9bd4d78e56eaf1a6df4a92de85069decc3a9330a /scumm | |
parent | 8141126e6e0d4fccfb7f992266b14618d00156d0 (diff) | |
download | scummvm-rg350-fe94648dd652a8c7f40d1653e0753e9da04005dd.tar.gz scummvm-rg350-fe94648dd652a8c7f40d1653e0753e9da04005dd.tar.bz2 scummvm-rg350-fe94648dd652a8c7f40d1653e0753e9da04005dd.zip |
fixed debug mode for mask maps
svn-id: r9768
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 fba3ded70b..91102ce7ff 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -1232,10 +1232,10 @@ void Gdi::drawBitmap(const byte *ptr, VirtScreen *vs, int x, int y, const int wi } } -#if 0 +#if 1 // HACK: blit mask(s) onto normal screen. Useful to debug masking for (i = 0; i < numzbuf; i++) { - mask_ptr = _vm->getMaskBuffer(x, y, i); + mask_ptr = _vm->getResourceAddress(rtBuffer, 9) + stripnr + _imgBufOffs[i] + (y * _numStrips); byte *dst = backbuff_ptr; byte *dst2 = bgbak_ptr; for (int h = 0; h < height; h++) { |