summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Ankers <dan@weirdo.org.uk>2007-03-21 13:25:30 +0000
committerDaniel Ankers <dan@weirdo.org.uk>2007-03-21 13:25:30 +0000
commit551161162214ef62127bfff1398702d01bc02fa1 (patch)
tree453179dae2c704ca6797cc91d5cf4028ebca3e7a
parentb2b79d57d89e67891663c6a1584d9dfb96dcd36e (diff)
downloadrockbox-551161162214ef62127bfff1398702d01bc02fa1.tar.gz
rockbox-551161162214ef62127bfff1398702d01bc02fa1.zip
Fix blitting on Sansa so Mpegplayer works again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12879 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/sandisk/sansa-e200/lcd-e200.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/arm/sandisk/sansa-e200/lcd-e200.c b/firmware/target/arm/sandisk/sansa-e200/lcd-e200.c
index 8aa8f709fd..6b51531056 100644
--- a/firmware/target/arm/sandisk/sansa-e200/lcd-e200.c
+++ b/firmware/target/arm/sandisk/sansa-e200/lcd-e200.c
@@ -362,7 +362,8 @@ void lcd_yuv_blit(unsigned char * const src[3],
width = (width + 1) & ~1;
- fb_data *dst = (fb_data*)lcd_framebuffer + _x * LCD_WIDTH + (LCD_WIDTH - _y) - 1;
+ fb_data *dst = (fb_data*)lcd_driver_framebuffer +
+ _x * LCD_WIDTH + (LCD_WIDTH - _y) - 1;
fb_data *dst_last = dst - (height - 1);
do