1
0
Fork 0
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:
Björn Stenberg 2002-06-27 08:23:57 +00:00
parent c0d8847f3c
commit e24a897de4

View file

@ -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: