From a10d9fa7ce33b8ff3b81bea8f8b6db83d1f15c81 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Mon, 27 May 2002 14:55:40 +0000 Subject: STOP in root stops playback git-svn-id: svn://svn.rockbox.org/rockbox/trunk@755 a1c6a512-1295-4272-9138-f99709370657 --- apps/tree.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/tree.c') diff --git a/apps/tree.c b/apps/tree.c index 02e5f0a467..65ee43396f 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -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; -- cgit v1.2.3