summaryrefslogtreecommitdiff
path: root/apps/onplay.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/onplay.c
parentf1ef5ab8a6f7f048c05ef7c25de594fca097e975 (diff)
downloadrockbox-8ee24d8cb47939ff04fa42b1ae9719ebeba64d29.tar.gz
rockbox-8ee24d8cb47939ff04fa42b1ae9719ebeba64d29.zip
onplay calls plugins to run other plugins
Change-Id: I7c1593c93debc0ac5c0f1b2e839ec0eb1bd375b7
Diffstat (limited to 'apps/onplay.c')
-rw-r--r--apps/onplay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/onplay.c b/apps/onplay.c
index a5a92e7c1c..83b24da78d 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -1576,6 +1576,8 @@ static bool onplay_load_plugin(void *param)
1576 int ret = filetype_load_plugin((const char*)param, selected_file); 1576 int ret = filetype_load_plugin((const char*)param, selected_file);
1577 if (ret == PLUGIN_USB_CONNECTED) 1577 if (ret == PLUGIN_USB_CONNECTED)
1578 onplay_result = ONPLAY_RELOAD_DIR; 1578 onplay_result = ONPLAY_RELOAD_DIR;
1579 else if (ret == PLUGIN_GOTO_PLUGIN)
1580 onplay_result = ONPLAY_PLUGIN;
1579 return false; 1581 return false;
1580} 1582}
1581 1583