diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2008-03-21 14:21:29 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2008-03-21 14:21:29 +0000 |
| commit | 5af25c46e3e9be3bc96be38ba13ecb0979f3ccaa (patch) | |
| tree | 0b74cdce11a24512504e2dc092fd4d2b7fe14cb7 /firmware | |
| parent | a96a733c7a43bf0d1a8cffc8ce38e5dddc4c4e0a (diff) | |
| download | rockbox-5af25c46e3e9be3bc96be38ba13ecb0979f3ccaa.zip rockbox-5af25c46e3e9be3bc96be38ba13ecb0979f3ccaa.tar.gz rockbox-5af25c46e3e9be3bc96be38ba13ecb0979f3ccaa.tar.bz2 rockbox-5af25c46e3e9be3bc96be38ba13ecb0979f3ccaa.tar.xz | |
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
Diffstat (limited to 'firmware')
| -rw-r--r-- | firmware/drivers/lcd-2bit-vi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-2bit-vi.c b/firmware/drivers/lcd-2bit-vi.c index 01037b3..0878258 100644 --- a/firmware/drivers/lcd-2bit-vi.c +++ b/firmware/drivers/lcd-2bit-vi.c @@ -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; |