mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
made ignorePakCols exactly match CostumeRenderer::proc3 to make comparisions easier
svn-id: r8863
This commit is contained in:
@@ -43,16 +43,16 @@ void BaseCostumeRenderer::codec1_ignorePakCols(int num) {
|
||||
int n = _height * num;
|
||||
|
||||
do {
|
||||
v1.repcolor = *_srcptr++;
|
||||
v1.replen = v1.repcolor & v1.mask;
|
||||
if (v1.replen == 0) {
|
||||
v1.replen = *_srcptr++;
|
||||
v1.repcolor = v1.replen >> v1.shr;
|
||||
v1.replen &= v1.mask;
|
||||
|
||||
if (!v1.replen)
|
||||
v1.replen = *_srcptr++;
|
||||
}
|
||||
|
||||
do {
|
||||
if (!--n) {
|
||||
v1.repcolor >>= v1.shr;
|
||||
if (!--n)
|
||||
return;
|
||||
}
|
||||
} while (--v1.replen);
|
||||
} while (1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user