1
0
Fork 0
forked from len0rd/rockbox

Open with... now reloads the dir if the viewer returns PLUGIN_USB_CONNECTED

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4871 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2004-07-13 13:57:14 +00:00
parent 10fafb3d7c
commit ae9b319ec5
3 changed files with 10 additions and 4 deletions

View file

@ -239,11 +239,11 @@ int filetype_load_menu(struct menu_item* menu,int max_items)
}
/* start a plugin with an argument (called from onplay.c) */
void filetype_load_plugin(char* plugin, char* file)
int filetype_load_plugin(char* plugin, char* file)
{
snprintf(plugin_name,sizeof(plugin_name),"%s/%s.rock",
VIEWERS_DIR,plugin);
plugin_load(plugin_name,file);
return plugin_load(plugin_name,file);
}
/* get index to filetypes[] from the file attribute */