forked from len0rd/rockbox
Allow exit from dir in playmode 2 (playlist)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1226 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c0d8847f3c
commit
e24a897de4
1 changed files with 5 additions and 2 deletions
|
@ -259,7 +259,8 @@ bool dirbrowse(char *root)
|
|||
|
||||
switch(button) {
|
||||
case TREE_EXIT:
|
||||
play_mode = 0;
|
||||
if ( play_mode == 1 )
|
||||
play_mode = 0;
|
||||
i=strlen(currdir);
|
||||
if (i>1) {
|
||||
while (currdir[i-1]!='/')
|
||||
|
@ -279,8 +280,10 @@ bool dirbrowse(char *root)
|
|||
start = dircursor = 0;
|
||||
restore = true;
|
||||
}
|
||||
else
|
||||
else {
|
||||
mpeg_stop();
|
||||
play_mode = 0;
|
||||
}
|
||||
break;
|
||||
|
||||
case TREE_ENTER:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue