summaryrefslogtreecommitdiff
path: root/apps/plugins/minesweeper.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/minesweeper.c')
-rw-r--r--apps/plugins/minesweeper.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/apps/plugins/minesweeper.c b/apps/plugins/minesweeper.c
index 183ce0fd9b..7cffdaf230 100644
--- a/apps/plugins/minesweeper.c
+++ b/apps/plugins/minesweeper.c
@@ -243,12 +243,6 @@ enum minesweeper_status {
243#endif 243#endif
244#endif 244#endif
245 245
246/* here is a global api struct pointer. while not strictly necessary,
247 * it's nice not to have to pass the api pointer in all function calls
248 * in the plugin
249 */
250static const struct plugin_api *rb;
251
252extern const fb_data minesweeper_tiles[]; 246extern const fb_data minesweeper_tiles[];
253 247
254#ifdef HAVE_LCD_COLOR 248#ifdef HAVE_LCD_COLOR
@@ -795,12 +789,11 @@ enum minesweeper_status minesweeper( void )
795} 789}
796 790
797/* plugin entry point */ 791/* plugin entry point */
798enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter) 792enum plugin_status plugin_start(const void* parameter)
799{ 793{
800 bool exit = false; 794 bool exit = false;
801 795
802 (void)parameter; 796 (void)parameter;
803 rb = api;
804#if LCD_DEPTH > 1 797#if LCD_DEPTH > 1
805 rb->lcd_set_backdrop(NULL); 798 rb->lcd_set_backdrop(NULL);
806#endif 799#endif