diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-03-29 17:48:26 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-03-29 17:48:26 +0000 |
commit | 10a5d0e00349e5b4fddabf0e9abc50f71f004b75 (patch) | |
tree | bff6c033a3d9806df59ab2a4c60b1b122cfa8da5 /firmware/drivers/lcd-charcell.c | |
parent | f267e04a698f72fde5c7713ba9078c3ccb78c008 (diff) | |
download | rockbox-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.c | 3 |
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]; | |||
70 | static int xmargin = 0; | 70 | static int xmargin = 0; |
71 | static int ymargin = 0; | 71 | static int ymargin = 0; |
72 | 72 | ||
73 | static unsigned char xfont_variable[VARIABLE_XCHARS][(HW_PATTERN_SIZE+3)&~3]; | 73 | static unsigned char xfont_variable[VARIABLE_XCHARS][HW_PATTERN_SIZE]; |
74 | /* round up pattern size to a multiple of 4 bytes for faster access */ | ||
75 | static bool xfont_variable_locked[VARIABLE_XCHARS]; | 74 | static bool xfont_variable_locked[VARIABLE_XCHARS]; |
76 | static struct pattern_info hw_pattern[MAX_HW_PATTERNS]; | 75 | static struct pattern_info hw_pattern[MAX_HW_PATTERNS]; |
77 | static struct cursor_info cursor; | 76 | static struct cursor_info cursor; |