1
0
Fork 0
forked from len0rd/rockbox

Fix the %cs tag for the pitchscreen and playlist viewer

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29997 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2011-06-13 07:33:20 +00:00
parent 3b04a85245
commit 038fc8a66e
2 changed files with 9 additions and 1 deletions

View file

@ -746,6 +746,8 @@ int gui_syncpitchscreen_run(void)
struct viewport pitch_viewports[NB_SCREENS][PITCH_ITEM_COUNT]; struct viewport pitch_viewports[NB_SCREENS][PITCH_ITEM_COUNT];
int max_lines[NB_SCREENS]; int max_lines[NB_SCREENS];
push_current_activity(ACTIVITY_PITCHSCREEN);
#if CONFIG_CODEC == SWCODEC #if CONFIG_CODEC == SWCODEC
int32_t new_speed = 0, new_stretch; int32_t new_speed = 0, new_stretch;
@ -1060,5 +1062,6 @@ int gui_syncpitchscreen_run(void)
#if CONFIG_CODEC == SWCODEC #if CONFIG_CODEC == SWCODEC
pcmbuf_set_low_latency(false); pcmbuf_set_low_latency(false);
#endif #endif
pop_current_activity();
return 0; return 0;
} }

View file

@ -339,7 +339,12 @@ static int miscscrn(void * param)
static int playlist_view(void * param) static int playlist_view(void * param)
{ {
(void)param; (void)param;
switch (playlist_viewer()) int val;
push_current_activity(ACTIVITY_PLAYLISTVIEWER);
val = playlist_viewer();
pop_current_activity();
switch (val)
{ {
case PLAYLIST_VIEWER_MAINMENU: case PLAYLIST_VIEWER_MAINMENU:
case PLAYLIST_VIEWER_USB: case PLAYLIST_VIEWER_USB: