mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
STOP in root stops playback
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@755 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
2d80f373e6
commit
a10d9fa7ce
1 changed files with 5 additions and 0 deletions
|
@ -30,6 +30,7 @@
|
|||
#include "tree.h"
|
||||
#include "play.h"
|
||||
#include "main_menu.h"
|
||||
#include "mpeg.h"
|
||||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
#include "icons.h"
|
||||
|
@ -223,6 +224,10 @@ bool dirbrowse(char *root)
|
|||
lcd_puts(0, LINE_Y+dircursor, "-");
|
||||
lcd_update();
|
||||
}
|
||||
else {
|
||||
/* if in root, stop stops playback */
|
||||
mpeg_stop();
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue