mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Some simulator corrections
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2919 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b43dba8760
commit
4a66327583
3 changed files with 16 additions and 2 deletions
|
|
@ -179,6 +179,17 @@ void mpeg_set_pitch(int pitch)
|
|||
(void)pitch;
|
||||
}
|
||||
|
||||
static int sleeptime;
|
||||
void set_sleep_timer(int seconds)
|
||||
{
|
||||
sleeptime = seconds;
|
||||
}
|
||||
|
||||
int get_sleep_timer(void)
|
||||
{
|
||||
return sleeptime;
|
||||
}
|
||||
|
||||
#ifdef HAVE_LCD_CHARCELLS
|
||||
void lcd_clearrect (int x, int y, int nx, int ny)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ FIRMSRCS = $(LCDSRSC) sprintf.c id3.c debug.c usb.c mpeg.c power.c\
|
|||
|
||||
APPS = main.c tree.c menu.c credits.c main_menu.c language.c\
|
||||
playlist.c wps.c wps-display.c settings.c status.c icons.c\
|
||||
screens.c peakmeter.c viewer.c
|
||||
screens.c peakmeter.c viewer.c sleeptimer.c
|
||||
|
||||
MENUS = games_menu.c demo_menu.c settings_menu.c sound_menu.c
|
||||
|
||||
|
|
@ -215,6 +215,9 @@ $(OBJDIR)/main.o: $(APPDIR)/main.c
|
|||
$(OBJDIR)/wps.o: $(APPDIR)/wps.c
|
||||
$(CC) $(APPCFLAGS) -c $< -o $@
|
||||
|
||||
$(OBJDIR)/sleeptimer.o: $(APPDIR)/sleeptimer.c
|
||||
$(CC) $(APPCFLAGS) -c $< -o $@
|
||||
|
||||
$(OBJDIR)/viewer.o: $(APPDIR)/viewer.c
|
||||
$(CC) $(APPCFLAGS) -c $< -o $@
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue