mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-21 19:12:39 -05:00
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
|
else
|
||||||
{
|
{
|
||||||
mask_col = (mask << 8) & 0xFFu;
|
mask_col = (mask >> 8) & 0xFFu;
|
||||||
mask_col |= mask_col << 8;
|
mask_col |= mask_col << 8;
|
||||||
}
|
}
|
||||||
src_col += stride;
|
src_col += stride;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue