diff options
author | Travis Howell | 2005-06-10 01:43:46 +0000 |
---|---|---|
committer | Travis Howell | 2005-06-10 01:43:46 +0000 |
commit | 2f2bcd914428d6fd7be1b818ea4a399fa4bd652f (patch) | |
tree | fb3048c15d2a777b931166196b4bb31efb0767c8 /scumm | |
parent | 6e68d8927efa62a4371400f45bd8be7e7054ff88 (diff) | |
download | scummvm-rg350-2f2bcd914428d6fd7be1b818ea4a399fa4bd652f.tar.gz scummvm-rg350-2f2bcd914428d6fd7be1b818ea4a399fa4bd652f.tar.bz2 scummvm-rg350-2f2bcd914428d6fd7be1b818ea4a399fa4bd652f.zip |
Adjust for HE100
svn-id: r18369
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v80he.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scumm/script_v80he.cpp b/scumm/script_v80he.cpp index d86235c079..2969abe53f 100644 --- a/scumm/script_v80he.cpp +++ b/scumm/script_v80he.cpp @@ -716,18 +716,20 @@ void ScummEngine_v80he::drawPixel(int x, int y, int flags) { markRectAsDirty(vs->number, x, y, x, y + 1); - if (flags & 0x4000) { + if ((flags & 0x4000) || (flags & 0x2000000)) { src = vs->getPixels(x, y); dst = vs->getBackPixels(x, y); *dst = *src; - } else if (flags & 0x2000) { + } else if ((flags & 0x2000) || (flags & 4000000)) { src = vs->getBackPixels(x, y); dst = vs->getPixels(x, y); *dst = *src; + } else if (flags & 0x8000000) { + error("drawPixel: unsupported flag 0x%x", flags); } else { dst = vs->getPixels(x, y); *dst = flags; - if (flags & 0x8000) { + if ((flags & 0x8000) || (flags & 0x1000000)) { dst = vs->getBackPixels(x, y); *dst = flags; } |