Virtualise drawBits1().

svn-id: r46076
This commit is contained in:
Travis Howell 2009-11-22 11:12:26 +00:00
parent 55c03b9aab
commit 1d948f1012
2 changed files with 1 additions and 3 deletions

View File

@ -1098,8 +1098,6 @@ void CharsetRendererPCE::drawBits1(const Graphics::Surface &s, byte *dst, const
} else { } else {
if (_shadowMode != kNoShadowMode) { if (_shadowMode != kNoShadowMode) {
*(dst + 1) = _shadowColor; *(dst + 1) = _shadowColor;
*(dst + s.pitch) = _shadowColor;
*(dst + s.pitch + 1) = _shadowColor;
} }
*dst = _color; *dst = _color;
} }

View File

@ -108,7 +108,7 @@ protected:
ShadowMode _shadowMode; ShadowMode _shadowMode;
void enableShadow(bool enable); 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: public:
CharsetRendererCommon(ScummEngine *vm); CharsetRendererCommon(ScummEngine *vm);