diff options
author | Travis Howell | 2005-11-06 11:30:17 +0000 |
---|---|---|
committer | Travis Howell | 2005-11-06 11:30:17 +0000 |
commit | c62d92bd139d7c56532a92db9dcd61fe357a85a8 (patch) | |
tree | 80459123e7cd75b650b9ff923e2373c5d3c181a8 | |
parent | 0c4c4ffecd896559a0e4cca0340763c0ac6a1e61 (diff) | |
download | scummvm-rg350-c62d92bd139d7c56532a92db9dcd61fe357a85a8.tar.gz scummvm-rg350-c62d92bd139d7c56532a92db9dcd61fe357a85a8.tar.bz2 scummvm-rg350-c62d92bd139d7c56532a92db9dcd61fe357a85a8.zip |
Correct charset palette in HE games.
svn-id: r19484
-rw-r--r-- | scumm/charset.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/charset.cpp b/scumm/charset.cpp index 3b272a6353..f9873400ac 100644 --- a/scumm/charset.cpp +++ b/scumm/charset.cpp @@ -1425,7 +1425,7 @@ void CharsetRendererClassic::printChar(int chr) { if (_bitDepth >= 8) { byte imagePalette[256]; memset(imagePalette, 0, sizeof(imagePalette)); - memcpy(imagePalette, _vm->_charsetColorMap, 16); + memcpy(imagePalette, _vm->_charsetColorMap, 4); Wiz::copyWizImage(dstPtr, charPtr, vs->w, vs->h, _left, _top, origWidth, origHeight, &rScreen, 0, imagePalette); } else { Wiz::copyWizImage(dstPtr, charPtr, vs->w, vs->h, _left, _top, origWidth, origHeight, &rScreen); |