1
0
Fork 0
forked from len0rd/rockbox

Fix bug in 2 bit vertical interleaved LCD driver: Native partial bitmaps weren't drawn when the total bitshift (depending on source and destination clipping) was > 7 Bit.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16730 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2008-03-21 14:21:29 +00:00
parent a96a733c7a
commit 5af25c46e3

View file

@ -999,7 +999,7 @@ void ICODE_ATTR LCDFN(bitmap_part)(const FBFN(data) *src, int src_x,
}
else
{
mask_col = (mask << 8) & 0xFFu;
mask_col = (mask >> 8) & 0xFFu;
mask_col |= mask_col << 8;
}
src_col += stride;