summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-charcell.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-03-29 17:48:26 +0000
committerJens Arnold <amiconn@rockbox.org>2007-03-29 17:48:26 +0000
commit10a5d0e00349e5b4fddabf0e9abc50f71f004b75 (patch)
treebff6c033a3d9806df59ab2a4c60b1b122cfa8da5 /firmware/drivers/lcd-charcell.c
parentf267e04a698f72fde5c7713ba9078c3ccb78c008 (diff)
downloadrockbox-10a5d0e00349e5b4fddabf0e9abc50f71f004b75.tar.gz
rockbox-10a5d0e00349e5b4fddabf0e9abc50f71f004b75.zip
Player: Save a bit of space by only using 7 bytes/char in the glyph table.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12962 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/lcd-charcell.c')
-rw-r--r--firmware/drivers/lcd-charcell.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/drivers/lcd-charcell.c b/firmware/drivers/lcd-charcell.c
index e68b35aa92..9d42ab5b4b 100644
--- a/firmware/drivers/lcd-charcell.c
+++ b/firmware/drivers/lcd-charcell.c
@@ -70,8 +70,7 @@ unsigned char hardware_buffer_lcd[LCD_WIDTH][LCD_HEIGHT];
70static int xmargin = 0; 70static int xmargin = 0;
71static int ymargin = 0; 71static int ymargin = 0;
72 72
73static unsigned char xfont_variable[VARIABLE_XCHARS][(HW_PATTERN_SIZE+3)&~3]; 73static unsigned char xfont_variable[VARIABLE_XCHARS][HW_PATTERN_SIZE];
74 /* round up pattern size to a multiple of 4 bytes for faster access */
75static bool xfont_variable_locked[VARIABLE_XCHARS]; 74static bool xfont_variable_locked[VARIABLE_XCHARS];
76static struct pattern_info hw_pattern[MAX_HW_PATTERNS]; 75static struct pattern_info hw_pattern[MAX_HW_PATTERNS];
77static struct cursor_info cursor; 76static struct cursor_info cursor;