aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/gfx.cpp
diff options
context:
space:
mode:
authorMax Horn2006-09-18 21:46:44 +0000
committerMax Horn2006-09-18 21:46:44 +0000
commit2cd0544cb9fd5a53cdafde2584799c84b0160470 (patch)
tree6ef5cde3757ff754fbad3e4907063652abb31a77 /engines/scumm/gfx.cpp
parent3313685bfea0d911a8cfbf46cec2e75fb01690a0 (diff)
downloadscummvm-rg350-2cd0544cb9fd5a53cdafde2584799c84b0160470.tar.gz
scummvm-rg350-2cd0544cb9fd5a53cdafde2584799c84b0160470.tar.bz2
scummvm-rg350-2cd0544cb9fd5a53cdafde2584799c84b0160470.zip
Re-disable blit mask hack (oops)
svn-id: r23936
Diffstat (limited to 'engines/scumm/gfx.cpp')
-rw-r--r--engines/scumm/gfx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp
index 05d0476467..eda6885795 100644
--- a/engines/scumm/gfx.cpp
+++ b/engines/scumm/gfx.cpp
@@ -1453,7 +1453,7 @@ void GdiNES::prepareDrawBitmap(const byte *ptr, int x, int y, const int width, c
* Draw a bitmap onto a virtual screen. This is main drawing method for room backgrounds
* and objects, used throughout all SCUMM versions.
*/
-void Gdi::drawBitmap(const byte *ptr, VirtScreen *vs, int x, int y, const int width, const int height,
+void Gdi::drawBitmap(const byte *ptr, VirtScreen *vs, int x, const int y, const int width, const int height,
int stripnr, int numstrip, byte flag) {
assert(ptr);
assert(height > 0);
@@ -1564,7 +1564,7 @@ void Gdi::drawBitmap(const byte *ptr, VirtScreen *vs, int x, int y, const int wi
decodeMask(x, y, width, height, stripnr, numzbuf, zplane_list, transpStrip, flag, tmsk_ptr);
-#if 1
+#if 0
// HACK: blit mask(s) onto normal screen. Useful to debug masking
for (int i = 0; i < numzbuf; i++) {
byte *dst1, *dst2;