mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 12:48:16 +00:00
Add missing bit of code, still hopelessly broken.
svn-id: r8841
This commit is contained in:
parent
2ad7b1e796
commit
5857979d67
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user