summaryrefslogtreecommitdiffstats
path: root/apps/tree.c
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2021-10-27 21:45:24 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2021-10-27 22:44:35 -0400
commit8ee24d8cb47939ff04fa42b1ae9719ebeba64d29 (patch)
treeb7958b6fa64be6570f144c0232ecd4452220c8fe /apps/tree.c
parentf1ef5ab8a6f7f048c05ef7c25de594fca097e975 (diff)
downloadrockbox-8ee24d8cb47939ff04fa42b1ae9719ebeba64d29.tar.gz
rockbox-8ee24d8cb47939ff04fa42b1ae9719ebeba64d29.zip
onplay calls plugins to run other plugins
Change-Id: I7c1593c93debc0ac5c0f1b2e839ec0eb1bd375b7
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c
index f50d424a82..7fcced92c8 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -805,6 +805,7 @@ static int dirbrowse(void)
{
case ONPLAY_MAINMENU:
return GO_TO_ROOT;
+ break;
case ONPLAY_OK:
restore = true;
@@ -817,6 +818,10 @@ static int dirbrowse(void)
case ONPLAY_START_PLAY:
return GO_TO_WPS;
break;
+
+ case ONPLAY_PLUGIN:
+ return GO_TO_PLUGIN;
+ break;
}
break;
}