diff -ur ScummVM-cvs20040809/scumm/charset.cpp ScummVM-cvs20040809+hack/scumm/charset.cpp
old
|
new
|
|
982 | 982 | if (_ignoreCharsetMask || !vs->hasTwoBuffers) { |
983 | 983 | dest_ptr = vs->screenPtr + vs->xstart + drawTop * vs->width + _left; |
984 | 984 | } else { |
985 | | dest_ptr = (byte *)_vm->gdi._textSurface.pixels + drawTop * _vm->gdi._textSurface.pitch + _left; |
| 985 | dest_ptr = (byte *)_vm->gdi._textSurface.pixels + _top * _vm->gdi._textSurface.pitch + _left; |
986 | 986 | } |
987 | 987 | |
988 | 988 | drawBits1(vs, dest_ptr, char_ptr, drawTop, 8, 8); |
… |
… |
|
1098 | 1098 | if (_ignoreCharsetMask || !vs->hasTwoBuffers) { |
1099 | 1099 | dst = vs->screenPtr + vs->xstart + drawTop * vs->width + _left; |
1100 | 1100 | } else { |
1101 | | dst = (byte *)_vm->gdi._textSurface.pixels + drawTop * _vm->gdi._textSurface.pitch + _left; |
| 1101 | dst = (byte *)_vm->gdi._textSurface.pixels + _top * _vm->gdi._textSurface.pitch + _left; |
1102 | 1102 | } |
1103 | 1103 | |
1104 | 1104 | back = dst; |