forked from len0rd/rockbox
Slight optimisation of gray_mono_bitmap_part() (only affects H1x0).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8064 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1a29cfb23e
commit
bce7c3eb50
1 changed files with 1 additions and 1 deletions
|
@ -433,7 +433,7 @@ void gray_mono_bitmap_part(const unsigned char *src, int src_x, int src_y,
|
||||||
{
|
{
|
||||||
const unsigned char *src_col = src++;
|
const unsigned char *src_col = src++;
|
||||||
unsigned char *dst_col = dst;
|
unsigned char *dst_col = dst;
|
||||||
unsigned char data = *src_col >> src_y;
|
unsigned data = *src_col >> src_y;
|
||||||
int numbits = 8 - src_y;
|
int numbits = 8 - src_y;
|
||||||
|
|
||||||
dst_end = dst_col + height;
|
dst_end = dst_col + height;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue