summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-06-27 01:05:40 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-06-27 01:05:40 +0000
commit32e27d93e883384cffb846998119ecdfd9b8fed7 (patch)
treeb5c26ee52a057c0edeeba25fa10056ab30c566b0 /apps/tree.c
parent0690ac1966772975879540a4c614b497858ecfb7 (diff)
downloadrockbox-32e27d93e883384cffb846998119ecdfd9b8fed7.tar.gz
rockbox-32e27d93e883384cffb846998119ecdfd9b8fed7.zip
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
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c4
1 files changed, 0 insertions, 4 deletions
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 @@
16 * KIND, either express or implied. 16 * KIND, either express or implied.
17 * 17 *
18 ****************************************************************************/ 18 ****************************************************************************/
19
20#include <stdio.h> 19#include <stdio.h>
21#include <string.h> 20#include <string.h>
22#include <stdlib.h> 21#include <stdlib.h>
@@ -1020,7 +1019,6 @@ static bool dirbrowse(char *root, int *dirfilter)
1020 case BUTTON_OFF: 1019 case BUTTON_OFF:
1021 bookmark_autobookmark(); 1020 bookmark_autobookmark();
1022 mpeg_stop(); 1021 mpeg_stop();
1023 status_set_playmode(STATUS_STOP);
1024 status_draw(false); 1022 status_draw(false);
1025 restore = true; 1023 restore = true;
1026 break; 1024 break;
@@ -1375,7 +1373,6 @@ static bool dirbrowse(char *root, int *dirfilter)
1375 break; 1373 break;
1376 1374
1377 case SYS_USB_CONNECTED: 1375 case SYS_USB_CONNECTED:
1378 status_set_playmode(STATUS_STOP);
1379 usb_screen(); 1376 usb_screen();
1380 reload_root = true; 1377 reload_root = true;
1381 break; 1378 break;
@@ -1732,6 +1729,5 @@ void bookmark_play(char *resume_file, int index, int offset, int seed)
1732 } 1729 }
1733 } 1730 }
1734 1731
1735 status_set_playmode(STATUS_PLAY);
1736 start_wps=true; 1732 start_wps=true;
1737} 1733}