summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-05-30 14:08:27 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-05-30 14:08:27 +0000
commitc346991af8f43cf9814bdcd3ce3738fc1fd0aa89 (patch)
treec34eca5ec4e812ac6bdb969c6b79c3f21f777a07
parent1fc4fee8cb70e577e514d9f675501af6c30ce963 (diff)
downloadrockbox-c346991af8f43cf9814bdcd3ce3738fc1fd0aa89.tar.gz
rockbox-c346991af8f43cf9814bdcd3ce3738fc1fd0aa89.zip
when building a simulator for the player, we do lcd_update() from within
the lcd_puts() call. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@823 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/drivers/lcd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/drivers/lcd.c b/firmware/drivers/lcd.c
index 6204d647b4..c00a70ee51 100644
--- a/firmware/drivers/lcd.c
+++ b/firmware/drivers/lcd.c
@@ -473,6 +473,11 @@ void lcd_puts(int x, int y, char *str)
473 lcd_putsxy( xmargin + x*fonts[font], 473 lcd_putsxy( xmargin + x*fonts[font],
474 ymargin + y*fontheight[font], 474 ymargin + y*fontheight[font],
475 str, font ); 475 str, font );
476#if defined(SIMULATOR) && defined(HAVE_LCD_CHARCELLS)
477 /* this function is being used when simulating a charcell LCD and
478 then we update immediately */
479 lcd_update();
480#endif
476} 481}
477 482
478/* 483/*