diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/onplay.c | 2 | ||||
-rw-r--r-- | apps/tree.c | 5 |
2 files changed, 7 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 | ||
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) | |||
805 | { | 805 | { |
806 | case ONPLAY_MAINMENU: | 806 | case ONPLAY_MAINMENU: |
807 | return GO_TO_ROOT; | 807 | return GO_TO_ROOT; |
808 | break; | ||
808 | 809 | ||
809 | case ONPLAY_OK: | 810 | case ONPLAY_OK: |
810 | restore = true; | 811 | restore = true; |
@@ -817,6 +818,10 @@ static int dirbrowse(void) | |||
817 | case ONPLAY_START_PLAY: | 818 | case ONPLAY_START_PLAY: |
818 | return GO_TO_WPS; | 819 | return GO_TO_WPS; |
819 | break; | 820 | break; |
821 | |||
822 | case ONPLAY_PLUGIN: | ||
823 | return GO_TO_PLUGIN; | ||
824 | break; | ||
820 | } | 825 | } |
821 | break; | 826 | break; |
822 | } | 827 | } |