diff options
author | Travis Howell | 2009-11-22 11:12:26 +0000 |
---|---|---|
committer | Travis Howell | 2009-11-22 11:12:26 +0000 |
commit | 1d948f1012d362866faaa7a539d1f24e3e09ca62 (patch) | |
tree | 1ffc2aee15e99fa36bcdca1004b77c72597a89be /engines/scumm | |
parent | 55c03b9aab64fc2f8b38cc2442619e6a60702297 (diff) | |
download | scummvm-rg350-1d948f1012d362866faaa7a539d1f24e3e09ca62.tar.gz scummvm-rg350-1d948f1012d362866faaa7a539d1f24e3e09ca62.tar.bz2 scummvm-rg350-1d948f1012d362866faaa7a539d1f24e3e09ca62.zip |
Virtualise drawBits1().
svn-id: r46076
Diffstat (limited to 'engines/scumm')
-rw-r--r-- | engines/scumm/charset.cpp | 2 | ||||
-rw-r--r-- | engines/scumm/charset.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/engines/scumm/charset.cpp b/engines/scumm/charset.cpp index b248b5cb6d..48382dd311 100644 --- a/engines/scumm/charset.cpp +++ b/engines/scumm/charset.cpp @@ -1098,8 +1098,6 @@ void CharsetRendererPCE::drawBits1(const Graphics::Surface &s, byte *dst, const } else { if (_shadowMode != kNoShadowMode) { *(dst + 1) = _shadowColor; - *(dst + s.pitch) = _shadowColor; - *(dst + s.pitch + 1) = _shadowColor; } *dst = _color; } diff --git a/engines/scumm/charset.h b/engines/scumm/charset.h index 8071160e7b..fd8f3e060b 100644 --- a/engines/scumm/charset.h +++ b/engines/scumm/charset.h @@ -108,7 +108,7 @@ protected: ShadowMode _shadowMode; void enableShadow(bool enable); - void drawBits1(const Graphics::Surface &s, byte *dst, const byte *src, int drawTop, int width, int height, uint8 bitDepth); + virtual void drawBits1(const Graphics::Surface &s, byte *dst, const byte *src, int drawTop, int width, int height, uint8 bitDepth); public: CharsetRendererCommon(ScummEngine *vm); |