summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-08-30 02:42:47 +0000
committerThomas Martitz <kugel@rockbox.org>2009-08-30 02:42:47 +0000
commita4e2d1f0718479a04dd013c80521583b29fe06cf (patch)
tree2caf612823059d2549dc34cb8d08978e3e0de5cf
parentffa83b484cf1d69a3880bc47655a2837a8d4460c (diff)
Fix x_offset for YUV blitting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22556 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/samsung/yh925/lcd-yh925.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/samsung/yh925/lcd-yh925.c b/firmware/target/arm/samsung/yh925/lcd-yh925.c
index 08ce22129a..edeef49d40 100644
--- a/firmware/target/arm/samsung/yh925/lcd-yh925.c
+++ b/firmware/target/arm/samsung/yh925/lcd-yh925.c
@@ -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