diff options
Diffstat (limited to 'apps/plugins/rockbox_flash.c')
-rw-r--r-- | apps/plugins/rockbox_flash.c | 6 |
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 | ||
100 | static const struct plugin_api* rb; /* here is a global api struct pointer */ | ||
101 | |||
102 | static UINT8* sector; /* better not place this on the stack... */ | 100 | static 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 | ||
945 | enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter) | 943 | enum 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!"); |