forked from len0rd/rockbox
no longer stop playback when trying to 'exit' the root directory, the
player version can't stop playback in the dir browser now but requires a switch into the wps. The Recorder version however now stops playback when OFF is pressed in the dir browser. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1545 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
82f0b79a9b
commit
82a1cad9b8
1 changed files with 7 additions and 5 deletions
12
apps/tree.c
12
apps/tree.c
|
|
@ -347,12 +347,14 @@ bool dirbrowse(char *root)
|
|||
start = dircursor = 0;
|
||||
restore = true;
|
||||
}
|
||||
else {
|
||||
mpeg_stop();
|
||||
play_mode = 0;
|
||||
status_set_playmode(STATUS_STOP);
|
||||
}
|
||||
break;
|
||||
#ifdef HAVE_RECORDER_KEYPAD
|
||||
case BUTTON_OFF:
|
||||
mpeg_stop();
|
||||
play_mode = 0;
|
||||
status_set_playmode(STATUS_STOP);
|
||||
break;
|
||||
#endif
|
||||
|
||||
case TREE_ENTER:
|
||||
#ifdef HAVE_RECORDER_KEYPAD
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue