diff options
author | James Brown | 2003-07-07 15:12:21 +0000 |
---|---|---|
committer | James Brown | 2003-07-07 15:12:21 +0000 |
commit | 5857979d67535295e16d4ca6b18f6e05b2c113e2 (patch) | |
tree | 3e047d6dd974ba4fd46f93cc11b1dd252adbe04b /scumm | |
parent | 2ad7b1e796c2b772762047d0ee86cb0382f9fc84 (diff) | |
download | scummvm-rg350-5857979d67535295e16d4ca6b18f6e05b2c113e2.tar.gz scummvm-rg350-5857979d67535295e16d4ca6b18f6e05b2c113e2.tar.bz2 scummvm-rg350-5857979d67535295e16d4ca6b18f6e05b2c113e2.zip |
Add missing bit of code, still hopelessly broken.
svn-id: r8841
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/costume.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scumm/costume.cpp b/scumm/costume.cpp index 963ab87777..be66fb5f21 100644 --- a/scumm/costume.cpp +++ b/scumm/costume.cpp @@ -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); + } + } } } } |