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:
Björn Stenberg 2002-05-17 14:38:08 +00:00
parent 37a7c25caa
commit 256d24a775

View file

@ -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