From 1d948f1012d362866faaa7a539d1f24e3e09ca62 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 22 Nov 2009 11:12:26 +0000 Subject: Virtualise drawBits1(). svn-id: r46076 --- engines/scumm/charset.cpp | 2 -- engines/scumm/charset.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'engines/scumm') 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); -- cgit v1.2.3