Add missing bit of code, still hopelessly broken.

svn-id: r8841
This commit is contained in:
James Brown 2003-07-07 15:12:21 +00:00
parent 2ad7b1e796
commit 5857979d67

View File

@ -306,6 +306,21 @@ void CostumeRenderer::procC64() {
dst = v1.destptr + (x << 3);
}
}
} else {
len = color;
for (int z = 0; z < len; z++) {
color = *src++;
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++;
if (y >= (_height >> 3)) {
y = 0;
dst = v1.destptr + (x << 3);
}
}
}
}
}