diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-02-20 19:31:34 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-02-20 19:31:34 +0000 |
commit | 51223e53957943c8b4c142882d2aa86d8025837d (patch) | |
tree | 6348e4c292a2e38f501b6ae3676f76ef26ff21e0 /firmware/drivers/lcd-16bit.c | |
parent | 283bfb16f1228f581e8a025bba5e2029daa32278 (diff) | |
download | rockbox-51223e53957943c8b4c142882d2aa86d8025837d.tar.gz rockbox-51223e53957943c8b4c142882d2aa86d8025837d.zip |
Introduced LCD_FBHEIGHT in addition to the already existing LCD_FBWIDTH to ease framebuffer handling a bit. Added equivalent definitions for the remote LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12419 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/lcd-16bit.c')
-rw-r--r-- | firmware/drivers/lcd-16bit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/lcd-16bit.c b/firmware/drivers/lcd-16bit.c index 16037f149d..d545bf3fe4 100644 --- a/firmware/drivers/lcd-16bit.c +++ b/firmware/drivers/lcd-16bit.c | |||
@@ -48,7 +48,7 @@ enum fill_opt { | |||
48 | }; | 48 | }; |
49 | 49 | ||
50 | /*** globals ***/ | 50 | /*** globals ***/ |
51 | fb_data lcd_framebuffer[LCD_HEIGHT][LCD_WIDTH] IRAM_LCDFRAMEBUFFER __attribute__ ((aligned (16))); | 51 | fb_data lcd_framebuffer[LCD_FBHEIGHT][LCD_FBWIDTH] IRAM_LCDFRAMEBUFFER __attribute__ ((aligned (16))); |
52 | 52 | ||
53 | 53 | ||
54 | static fb_data* lcd_backdrop = NULL; | 54 | static fb_data* lcd_backdrop = NULL; |
@@ -599,7 +599,7 @@ void lcd_mono_bitmap_part(const unsigned char *src, int src_x, int src_y, | |||
599 | dst_end = dst_col + height * LCD_WIDTH; | 599 | dst_end = dst_col + height * LCD_WIDTH; |
600 | do | 600 | do |
601 | { | 601 | { |
602 | switch (drawmode) | 602 | switch (drawmode) |
603 | { | 603 | { |
604 | case DRMODE_SOLID: | 604 | case DRMODE_SOLID: |
605 | if (data & 0x01) | 605 | if (data & 0x01) |