Fix x_offset for YUV blitting.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22556 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2009-08-30 02:42:47 +00:00
parent ffa83b484c
commit a4e2d1f071

View file

@ -531,6 +531,8 @@ void lcd_blit_yuv(unsigned char * const src[3],
width &= ~1;
height &= ~1;
x += x_offset;
/* calculate the drawing region */
/* The 20GB LCD is actually 128x160 but rotated 90 degrees so the origin