mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-23 12:02:39 -05:00
It's not necessary (anymore?) to map lcd_icon() to sim_lcd_icon() for the simulator. * Removed a stray lcd_icon() call from usb handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13006 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bbe1eaf89e
commit
323d75d25f
7 changed files with 2 additions and 43 deletions
|
|
@ -81,7 +81,7 @@ static const struct plugin_api rockbox_api = {
|
|||
lcd_putc,
|
||||
lcd_put_cursor,
|
||||
lcd_remove_cursor,
|
||||
PREFIX(lcd_icon),
|
||||
lcd_icon,
|
||||
lcd_double_height,
|
||||
#else
|
||||
lcd_set_drawmode,
|
||||
|
|
|
|||
|
|
@ -149,7 +149,7 @@ struct plugin_api {
|
|||
void (*lcd_putc)(int x, int y, unsigned long ucs);
|
||||
void (*lcd_put_cursor)(int x, int y, unsigned long ucs);
|
||||
void (*lcd_remove_cursor)(void);
|
||||
void (*PREFIX(lcd_icon))(int icon, bool enable);
|
||||
void (*lcd_icon)(int icon, bool enable);
|
||||
void (*lcd_double_height)(bool on);
|
||||
#else
|
||||
void (*lcd_set_drawmode)(int mode);
|
||||
|
|
|
|||
|
|
@ -81,11 +81,7 @@ void screen_init(struct screen * screen, enum screen_type screen_type)
|
|||
screen->putc=&lcd_remote_putc;
|
||||
screen->get_locked_pattern=&lcd_remote_get_locked_pattern;
|
||||
screen->define_pattern=&lcd_remote_define_pattern;
|
||||
#ifdef SIMULATOR
|
||||
screen->icon=&sim_lcd_remote_icon;
|
||||
#else
|
||||
screen->icon=&lcd_remote_icon;
|
||||
#endif
|
||||
#endif /* 0 */
|
||||
|
||||
screen->init=&lcd_remote_init;
|
||||
|
|
@ -164,11 +160,7 @@ void screen_init(struct screen * screen, enum screen_type screen_type)
|
|||
screen->putc=&lcd_putc;
|
||||
screen->get_locked_pattern=&lcd_get_locked_pattern;
|
||||
screen->define_pattern=&lcd_define_pattern;
|
||||
#ifdef SIMULATOR
|
||||
screen->icon=&sim_lcd_icon;
|
||||
#else
|
||||
screen->icon=&lcd_icon;
|
||||
#endif
|
||||
#endif /* HAVE_LCD_CHARCELLS */
|
||||
|
||||
screen->init=&lcd_init;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue