oops, optimized lcd_bitmap() too much, obey the clear flag
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4178 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5040cc53ec
commit
8446cc461c
1 changed files with 1 additions and 1 deletions
|
@ -457,7 +457,7 @@ void lcd_bitmap (unsigned char *src, int x, int y, int nx, int ny,
|
|||
dst2 = &lcd_framebuffer[y/8][x];
|
||||
|
||||
/* short cut for byte aligned match (e.g. standard text) */
|
||||
if (!shift && ny==8)
|
||||
if (!shift && clear && ny==8)
|
||||
{
|
||||
memcpy(dst2, src, nx);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue