diff options
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/costume.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/scumm/costume.cpp b/scumm/costume.cpp index 3df8537185..927f6357cb 100644 --- a/scumm/costume.cpp +++ b/scumm/costume.cpp @@ -319,14 +319,15 @@ void CostumeRenderer::procC64() { len = color & 0x7f; color = *src++; while (len--) { - for (int i = 0; i < 8; i++) { +// for (int i = 0; i < 8; i++) + { dst[0] = dst[1] = _vm->gdi._C64Colors[(color >> 6) & 3]; dst[2] = dst[3] = _vm->gdi._C64Colors[(color >> 4) & 3]; dst[4] = dst[5] = _vm->gdi._C64Colors[(color >> 2) & 3]; dst[6] = dst[7] = _vm->gdi._C64Colors[(color >> 0) & 3]; dst += _outwidth; + y++; } - y+=8; if (y >= _height) { y = 0; dst = v1.destptr + (x << 3); @@ -336,14 +337,15 @@ void CostumeRenderer::procC64() { len = color; while (len--) { color = *src++; - for (int i = 0; i < 8; i++) { +// for (int i = 0; i < 8; i++) + { dst[0] = dst[1] = _vm->gdi._C64Colors[(color >> 6) & 3]; dst[2] = dst[3] = _vm->gdi._C64Colors[(color >> 4) & 3]; dst[4] = dst[5] = _vm->gdi._C64Colors[(color >> 2) & 3]; dst[6] = dst[7] = _vm->gdi._C64Colors[(color >> 0) & 3]; dst += _outwidth; + y++; } - y+=8; if (y >= _height) { y = 0; dst = v1.destptr + (x << 3); |