diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2007-03-31 09:58:49 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2007-03-31 09:58:49 +0000 |
| commit | 54ea2e435e1a5688de4e4dcf551a1fc9c1db323f (patch) | |
| tree | e8ee4e55a20c872a6c0deff554734038c35dc661 /firmware/drivers/lcd-charset-player.c | |
| parent | 6186b556bdbe97bc3c50dd8feb970590bec2053c (diff) | |
| download | rockbox-54ea2e435e1a5688de4e4dcf551a1fc9c1db323f.zip rockbox-54ea2e435e1a5688de4e4dcf551a1fc9c1db323f.tar.gz rockbox-54ea2e435e1a5688de4e4dcf551a1fc9c1db323f.tar.bz2 rockbox-54ea2e435e1a5688de4e4dcf551a1fc9c1db323f.tar.xz | |
Charcell lcd driver: Preparations for switching to non-immediate LCD updates, using lcd_update() like on bitmap targets. * Added proper clipping. * Simplified simulator code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12979 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/lcd-charset-player.c')
| -rw-r--r-- | firmware/drivers/lcd-charset-player.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/drivers/lcd-charset-player.c b/firmware/drivers/lcd-charset-player.c index 24c0f65..8218535 100644 --- a/firmware/drivers/lcd-charset-player.c +++ b/firmware/drivers/lcd-charset-player.c @@ -22,7 +22,7 @@ #include "lcd-charcell.h" -int hw_pattern_count; /* actual number of user-definable hw patterns */ +int lcd_pattern_count; /* actual number of user-definable hw patterns */ const struct xchar_info *xchar_info; int xchar_info_size; /* number of entries */ @@ -1237,13 +1237,13 @@ void lcd_charset_init(void) { if (is_new_player()) { - hw_pattern_count = 8; + lcd_pattern_count = 8; xchar_info = xchar_info_newlcd; xchar_info_size = sizeof(xchar_info_newlcd)/sizeof(struct xchar_info); } else /* old lcd */ { - hw_pattern_count = 4; + lcd_pattern_count = 4; xchar_info = xchar_info_oldlcd; xchar_info_size = sizeof(xchar_info_oldlcd)/sizeof(struct xchar_info); } |