mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-10 13:45:10 -05:00
Added lcd_update() to player lcd_puts()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@619 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
37a7c25caa
commit
256d24a775
1 changed files with 6 additions and 5 deletions
|
|
@ -111,15 +111,16 @@ void lcd_update (void)
|
||||||
/* simulation layer for charcells */
|
/* simulation layer for charcells */
|
||||||
void lcd_clear_display(void)
|
void lcd_clear_display(void)
|
||||||
{
|
{
|
||||||
sim_lcd_clear_display();
|
sim_lcd_clear_display();
|
||||||
}
|
}
|
||||||
|
|
||||||
void lcd_puts(int x, int y, char *string)
|
void lcd_puts(int x, int y, char *string)
|
||||||
{
|
{
|
||||||
char buffer[12];
|
char buffer[12];
|
||||||
strncpy(buffer, string, 11);
|
strncpy(buffer, string, 11);
|
||||||
buffer[11]=0;
|
buffer[11]=0;
|
||||||
|
|
||||||
sim_lcd_puts(x, y, buffer, 0);
|
sim_lcd_puts(x, y, buffer, 0);
|
||||||
|
lcd_update();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue