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:
parent
a96a733c7a
commit
5af25c46e3
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue