mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-21 01:08:25 +00:00
Missed two spots
svn-id: r10740
This commit is contained in:
parent
5645fa4266
commit
4445915403
@ -1795,7 +1795,7 @@ void Gdi::unkDecodeA(byte *dst, const byte *src, int height) {
|
||||
if (!--height)
|
||||
return;
|
||||
}
|
||||
*dst++ = color + _palette_mod;
|
||||
*dst++ = (_vm->_features & GF_SMALL_HEADER) ? _vm->_roomPalette[color + _palette_mod] : color + _palette_mod;
|
||||
} while (--reps);
|
||||
bits >>= 8;
|
||||
bits |= (*src++) << (cl - 8);
|
||||
@ -1846,7 +1846,7 @@ void Gdi::unkDecodeA_trans(byte *dst, const byte *src, int height) {
|
||||
return;
|
||||
}
|
||||
if (color != _transparentColor)
|
||||
*dst = color + _palette_mod;
|
||||
*dst = (_vm->_features & GF_SMALL_HEADER) ? _vm->_roomPalette[color + _palette_mod] : color + _palette_mod;
|
||||
dst++;
|
||||
} while (--reps);
|
||||
bits >>= 8;
|
||||
|
Loading…
Reference in New Issue
Block a user