diff options
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 251d433d76..3cdc56ceb4 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -253,6 +253,8 @@ static const struct plugin_api rockbox_api = { | |||
253 | #endif | 253 | #endif |
254 | settings_parseline, | 254 | settings_parseline, |
255 | strcmp, | 255 | strcmp, |
256 | button_status, | ||
257 | button_clear_queue, | ||
256 | }; | 258 | }; |
257 | 259 | ||
258 | int plugin_load(char* plugin, void* parameter) | 260 | int plugin_load(char* plugin, void* parameter) |
@@ -332,7 +334,10 @@ int plugin_load(char* plugin, void* parameter) | |||
332 | 334 | ||
333 | plugin_loaded = true; | 335 | plugin_loaded = true; |
334 | rc = plugin_start((struct plugin_api*) &rockbox_api, parameter); | 336 | rc = plugin_start((struct plugin_api*) &rockbox_api, parameter); |
335 | /* explicitly casting the pointer here to avoid touching every plugin. */ | 337 | /* explicitly casting the pointer here to avoid touching every plugin. */ |
338 | |||
339 | button_clear_queue(); | ||
340 | |||
336 | plugin_loaded = false; | 341 | plugin_loaded = false; |
337 | 342 | ||
338 | switch (rc) { | 343 | switch (rc) { |