summaryrefslogtreecommitdiff
path: root/apps/plugins/rockbox_flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/rockbox_flash.c')
-rw-r--r--apps/plugins/rockbox_flash.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/plugins/rockbox_flash.c b/apps/plugins/rockbox_flash.c
index d0dc73875e..5f2117d746 100644
--- a/apps/plugins/rockbox_flash.c
+++ b/apps/plugins/rockbox_flash.c
@@ -97,8 +97,6 @@ typedef struct
97 char name[32]; 97 char name[32];
98} tFlashInfo; 98} tFlashInfo;
99 99
100static const struct plugin_api* rb; /* here is a global api struct pointer */
101
102static UINT8* sector; /* better not place this on the stack... */ 100static UINT8* sector; /* better not place this on the stack... */
103 101
104/***************** Flash Functions *****************/ 102/***************** Flash Functions *****************/
@@ -942,12 +940,10 @@ static void DoUserDialog(char* filename)
942 940
943/***************** Plugin Entry Point *****************/ 941/***************** Plugin Entry Point *****************/
944 942
945enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter) 943enum plugin_status plugin_start(const void* parameter)
946{ 944{
947 int oldmode; 945 int oldmode;
948 946
949 rb = api; /* copy to global api pointer */
950
951 if (parameter == NULL) 947 if (parameter == NULL)
952 { 948 {
953 rb->splash(HZ*3, "Play .ucl file!"); 949 rb->splash(HZ*3, "Play .ucl file!");