diff options
author | Travis Howell | 2009-11-22 08:20:20 +0000 |
---|---|---|
committer | Travis Howell | 2009-11-22 08:20:20 +0000 |
commit | 2d31fc3af87526eefb63746c77ea3e7e7d32e90a (patch) | |
tree | b137ce8cc82ff8f06c0fab34a503d0f544893808 /engines/scumm/gfx.cpp | |
parent | 9886c8fb91f12e0e0fad9a9ae92a09d4a98a4a67 (diff) | |
download | scummvm-rg350-2d31fc3af87526eefb63746c77ea3e7e7d32e90a.tar.gz scummvm-rg350-2d31fc3af87526eefb63746c77ea3e7e7d32e90a.tar.bz2 scummvm-rg350-2d31fc3af87526eefb63746c77ea3e7e7d32e90a.zip |
Add patch for Tobias, for Kanji support in Japanese PCE version of Loom, with minor changes.
svn-id: r46061
Diffstat (limited to 'engines/scumm/gfx.cpp')
-rw-r--r-- | engines/scumm/gfx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp index 203d746184..651bbec1ab 100644 --- a/engines/scumm/gfx.cpp +++ b/engines/scumm/gfx.cpp @@ -1089,7 +1089,7 @@ void ScummEngine::clearCharsetMask() { } void ScummEngine::clearTextSurface() { - memset(_textSurface.pixels, CHARSET_MASK_TRANSPARENCY, _textSurface.pitch * _textSurface.h); + fill((byte*)_textSurface.pixels, _textSurface.pitch, CHARSET_MASK_TRANSPARENCY, _textSurface.w, _textSurface.h, _textSurface.bytesPerPixel); } byte *ScummEngine::getMaskBuffer(int x, int y, int z) { |