aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2009-10-26 09:13:58 +0000
committerTravis Howell2009-10-26 09:13:58 +0000
commit485ee55308a5461653aace831bb1b8a33869d8e9 (patch)
treea21216dab5be793f2db82c87c4d582e2a2ac0e3a
parentea91714b173a625e9b68f92168eb45953931d19f (diff)
downloadscummvm-rg350-485ee55308a5461653aace831bb1b8a33869d8e9.tar.gz
scummvm-rg350-485ee55308a5461653aace831bb1b8a33869d8e9.tar.bz2
scummvm-rg350-485ee55308a5461653aace831bb1b8a33869d8e9.zip
Ooops, that part should not have been commited.
svn-id: r45394
-rw-r--r--engines/scumm/cursor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/cursor.cpp b/engines/scumm/cursor.cpp
index cd1f194889..e39825f265 100644
--- a/engines/scumm/cursor.cpp
+++ b/engines/scumm/cursor.cpp
@@ -364,10 +364,10 @@ void ScummEngine_v5::redefineBuiltinCursorFromChar(int index, int chr) {
s.pixels = buf;
s.w = _charset->getCharWidth(chr);
s.h = _charset->getFontHeight();
- s.pitch = s.w * _bytesPerPixel;
+ s.pitch = s.w;
// s.h = 17 for FM-TOWNS Loom Japanese. Fixes bug #1166917
assert(s.w <= 16 && s.h <= 17);
- s.bytesPerPixel = _bytesPerPixel;
+ s.bytesPerPixel = 1;
_charset->drawChar(chr, s, 0, 0);
@@ -378,7 +378,7 @@ void ScummEngine_v5::redefineBuiltinCursorFromChar(int index, int chr) {
if (buf[s.pitch * h + w] != 123)
*ptr |= 1 << (15 - w);
}
- ptr += _bytesPerPixel;
+ ptr++;
}
// _charset->setCurID(oldID);