SCUMM: Prefer Surface::format over Surface::bytesPerPixel.

This commit is contained in:
Johannes Schickel 2011-04-17 17:29:09 +02:00
parent ca240b4936
commit b0bd8fa795
5 changed files with 58 additions and 55 deletions

View file

@ -386,6 +386,7 @@ void ScummEngine_v5::redefineBuiltinCursorFromChar(int index, int chr) {
// s.h = 17 for FM-TOWNS Loom Japanese. Fixes bug #1166917
assert(s.w <= 16 && s.h <= 17);
s.bytesPerPixel = 1;
s.format = Graphics::PixelFormat::createFormatCLUT8();
_charset->drawChar(chr, s, 0, 0);