summaryrefslogtreecommitdiff
path: root/apps/root_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/root_menu.c')
-rw-r--r--apps/root_menu.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c
index feff126e03..302e889b60 100644
--- a/apps/root_menu.c
+++ b/apps/root_menu.c
@@ -73,6 +73,9 @@ struct root_items {
73static int last_screen = GO_TO_ROOT; /* unfortunatly needed so we can resume 73static int last_screen = GO_TO_ROOT; /* unfortunatly needed so we can resume
74 or goto current track based on previous 74 or goto current track based on previous
75 screen */ 75 screen */
76
77int next_screen = GO_TO_ROOT;
78
76static char current_track_path[MAX_PATH]; 79static char current_track_path[MAX_PATH];
77static void rootmenu_track_changed_callback(void* param) 80static void rootmenu_track_changed_callback(void* param)
78{ 81{
@@ -504,10 +507,14 @@ void previous_music_is_wps(void)
504 previous_music = GO_TO_WPS; 507 previous_music = GO_TO_WPS;
505} 508}
506 509
510int current_screen(void)
511{
512 return next_screen;
513}
514
507void root_menu(void) 515void root_menu(void)
508{ 516{
509 int previous_browser = GO_TO_FILEBROWSER; 517 int previous_browser = GO_TO_FILEBROWSER;
510 int next_screen = GO_TO_ROOT;
511 int selected = 0; 518 int selected = 0;
512 519
513 if (global_settings.start_in_screen == 0) 520 if (global_settings.start_in_screen == 0)