mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
fix errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26711 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d871ff8cce
commit
4017fd2928
1 changed files with 4 additions and 2 deletions
|
|
@ -788,6 +788,7 @@ char* get_track_filename(const int track_index)
|
||||||
return track_names + tracks[track_index].filename_idx;
|
return track_names + tracks[track_index].filename_idx;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
int get_wps_current_index(void)
|
int get_wps_current_index(void)
|
||||||
{
|
{
|
||||||
|
|
@ -800,7 +801,7 @@ int get_wps_current_index(void)
|
||||||
}
|
}
|
||||||
return last_album;
|
return last_album;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
/**
|
/**
|
||||||
Compare two unsigned ints passed via pointers.
|
Compare two unsigned ints passed via pointers.
|
||||||
*/
|
*/
|
||||||
|
|
@ -2742,7 +2743,7 @@ int main(void)
|
||||||
if ( pf_state == pf_idle || pf_state == pf_scrolling )
|
if ( pf_state == pf_idle || pf_state == pf_scrolling )
|
||||||
show_previous_slide();
|
show_previous_slide();
|
||||||
break;
|
break;
|
||||||
|
#if PF_PLAYBACK_CAPABLE
|
||||||
case PF_CONTEXT:
|
case PF_CONTEXT:
|
||||||
if ( auto_wps != 0 ) {
|
if ( auto_wps != 0 ) {
|
||||||
if( pf_state == pf_idle ) {
|
if( pf_state == pf_idle ) {
|
||||||
|
|
@ -2759,6 +2760,7 @@ int main(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
#endif
|
||||||
case PF_TRACKLIST:
|
case PF_TRACKLIST:
|
||||||
if ( auto_wps == 1 && pf_state == pf_idle ) {
|
if ( auto_wps == 1 && pf_state == pf_idle ) {
|
||||||
pf_state = pf_cover_in;
|
pf_state = pf_cover_in;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue