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:
Jörg Hohensohn 2003-12-24 12:17:26 +00:00
parent 5040cc53ec
commit 8446cc461c

View file

@ -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;