summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-09-02 07:59:42 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-09-02 07:59:42 +0000
commitb3050e90459849cacfbad6f3109d884cee9bbcaf (patch)
tree187b55e512134ecf900ddfaa735b691b60d450f5
parentc35f6a0676b6de7d2ade8705f8c51dbea925a362 (diff)
downloadrockbox-b3050e90459849cacfbad6f3109d884cee9bbcaf.tar.gz
rockbox-b3050e90459849cacfbad6f3109d884cee9bbcaf.zip
The start-in-record-screen option now has priority over the resume-on-startup option
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7454 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/tree.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/apps/tree.c b/apps/tree.c
index e56c7a76de..c42d18beab 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -614,19 +614,20 @@ static bool dirbrowse(void)
614 lastfirstpos = 0; 614 lastfirstpos = 0;
615 615
616 if (*tc.dirfilter < NUM_FILTER_MODES) { 616 if (*tc.dirfilter < NUM_FILTER_MODES) {
617 start_resume(true);
618
619#ifdef HAVE_RECORDING 617#ifdef HAVE_RECORDING
620#ifndef SIMULATOR 618#ifndef SIMULATOR
621 if (global_settings.rec_startup && ! start_wps) { 619 if (global_settings.rec_startup) {
622 /* We fake being in the menu structure by calling the appropriate */ 620 /* We fake being in the menu structure by calling
623 /* parent when we drop out of each screen */ 621 the appropriate parent when we drop out of each screen */
624 recording_screen(); 622 recording_screen();
625 rec_menu(); 623 rec_menu();
626 main_menu(); 624 main_menu();
627 } 625 }
626 else
628#endif 627#endif
629#endif 628#endif
629 start_resume(true);
630
630 } 631 }
631 632
632 if (!start_wps) { 633 if (!start_wps) {