Adapted to changes in the lcd API.

Added player support to the dir browser.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@541 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2002-05-10 14:56:52 +00:00
parent 71cda11e65
commit c492d24cce
8 changed files with 296 additions and 254 deletions

View file

@ -28,8 +28,8 @@ CC = gcc
RM = rm -f
DEBUG = -g
#DISPLAY = -DHAVE_LCD_CHARCELLS
DISPLAY = -DHAVE_LCD_BITMAP
DISPLAY = -DHAVE_LCD_CHARCELLS
#DISPLAY = -DHAVE_LCD_BITMAP
DEFINES = -DHAVE_CONFIG_H -DGETTIMEOFDAY_TWO_ARGS -DSIMULATOR \
-DHAVE_RECORDER_KEYPAD $(DISPLAY)

View file

@ -120,6 +120,7 @@ void lcd_puts(int x, int y, char *string)
strncpy(buffer, string, 11);
buffer[11]=0;
sim_lcd_puts(x*6, y*8, buffer, 0);
debugf("lcd_puts(%d,%d,%s)\n",x,y,string);
sim_lcd_puts(x, y, buffer, 0);
}
#endif