summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-04-16 12:13:19 +0100
committerAidan MacDonald <amachronic@protonmail.com>2022-04-16 14:36:39 +0100
commit3fcdadce240d2227c1864f2a42a6ae0db1bb372c (patch)
tree61e9b1141f684b7e0ff61f05243ec82ef549e83f /apps/plugin.c
parentd55dceff371c4080d179fb26e6f175927cc48768 (diff)
downloadrockbox-3fcdadce240d2227c1864f2a42a6ae0db1bb372c.tar.gz
rockbox-3fcdadce240d2227c1864f2a42a6ae0db1bb372c.zip
plugins: Add multiboot select plugin
This plugin provides a menu for easily editing the root redirect file on targets that support multiboot. You can select a new root from a list of Rockbox installations detected on the filesystem or remove all redirects to boot from the default location. To avoid searching the whole filesystem, only subdirectories of the volume roots are checked for valid installations. Only installations that are compatible with the current player will be displayed. Change-Id: I7dcbadfd97873b87817870e61d2ae37956d2da00
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index e0766e47bf..f2964a9c45 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -810,6 +810,9 @@ static const struct plugin_api rockbox_api = {
810 queue_remove_from_head, 810 queue_remove_from_head,
811 core_set_keyremap, 811 core_set_keyremap,
812 plugin_reserve_buffer, 812 plugin_reserve_buffer,
813 path_strip_volume,
814 sys_poweroff,
815 sys_reboot,
813}; 816};
814 817
815static int plugin_buffer_handle; 818static int plugin_buffer_handle;