From 32e27d93e883384cffb846998119ecdfd9b8fed7 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Sun, 27 Jun 2004 01:05:40 +0000 Subject: The status bar now keeps track of the mpeg status, instead of having to call status_set_playmode() all the time git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4805 a1c6a512-1295-4272-9138-f99709370657 --- apps/tree.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'apps/tree.c') diff --git a/apps/tree.c b/apps/tree.c index c68927be60..820974979b 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -16,7 +16,6 @@ * KIND, either express or implied. * ****************************************************************************/ - #include #include #include @@ -1020,7 +1019,6 @@ static bool dirbrowse(char *root, int *dirfilter) case BUTTON_OFF: bookmark_autobookmark(); mpeg_stop(); - status_set_playmode(STATUS_STOP); status_draw(false); restore = true; break; @@ -1375,7 +1373,6 @@ static bool dirbrowse(char *root, int *dirfilter) break; case SYS_USB_CONNECTED: - status_set_playmode(STATUS_STOP); usb_screen(); reload_root = true; break; @@ -1732,6 +1729,5 @@ void bookmark_play(char *resume_file, int index, int offset, int seed) } } - status_set_playmode(STATUS_PLAY); start_wps=true; } -- cgit v1.2.3