Fix Player, checkwps and database tools

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23215 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2009-10-16 20:34:54 +00:00
parent 94f7651341
commit d7757eb75c
3 changed files with 15 additions and 2 deletions

View file

@ -337,8 +337,8 @@ static void draw_player_fullbar(struct gui_wps *gwps, char* buf, int buf_size)
int elapsed, length;
if (LIKELY(state->id3))
{
elapsed = id3->elapsed;
length = id3->length;
elapsed = state->id3->elapsed;
length = state->id3->length;
}
else
{

View file

@ -140,6 +140,18 @@ int recalc_dimension(struct dim *dst, struct dim *src)
return 0;
}
#ifdef HAVE_ALBUMART
int playback_claim_aa_slot(struct dim *dim)
{
return 0;
}
void playback_release_aa_slot(int slot)
{
return;
}
#endif
int resize_on_load(struct bitmap *bm, bool dither,
struct dim *src, struct rowset *tmp_row,
unsigned char *buf, unsigned int len,

View file

@ -19,6 +19,7 @@ FIRMINC = -I$(ROOTDIR)/firmware/include -fno-builtin
INCLUDES = -I$(ROOTDIR)/apps/gui \
-I$(ROOTDIR)/firmware/export \
-I$(ROOTDIR)/apps \
-I$(ROOTDIR)/apps/recorder \
-I$(APPSDIR) \
-I$(BUILDDIR) \