diff options
Diffstat (limited to 'apps/plugins/pegbox.c')
-rw-r--r-- | apps/plugins/pegbox.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/plugins/pegbox.c b/apps/plugins/pegbox.c index 25f8adfbed..712d102a32 100644 --- a/apps/plugins/pegbox.c +++ b/apps/plugins/pegbox.c | |||
@@ -32,8 +32,6 @@ | |||
32 | #define ITEM_HEIGHT (BMPHEIGHT_pegbox_menu_items/9) | 32 | #define ITEM_HEIGHT (BMPHEIGHT_pegbox_menu_items/9) |
33 | #endif | 33 | #endif |
34 | 34 | ||
35 | static const struct plugin_api* rb; | ||
36 | |||
37 | PLUGIN_HEADER | 35 | PLUGIN_HEADER |
38 | 36 | ||
39 | /* final game return status */ | 37 | /* final game return status */ |
@@ -1436,12 +1434,11 @@ static int pegbox(struct game_context* pb) { | |||
1436 | /***************************************************************************** | 1434 | /***************************************************************************** |
1437 | * plugin entry point. | 1435 | * plugin entry point. |
1438 | ******************************************************************************/ | 1436 | ******************************************************************************/ |
1439 | enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter) { | 1437 | enum plugin_status plugin_start(const void* parameter) { |
1440 | bool exit = false; | 1438 | bool exit = false; |
1441 | struct game_context pb; | 1439 | struct game_context pb; |
1442 | 1440 | ||
1443 | (void)parameter; | 1441 | (void)parameter; |
1444 | rb = api; | ||
1445 | 1442 | ||
1446 | rb->lcd_setfont(FONT_SYSFIXED); | 1443 | rb->lcd_setfont(FONT_SYSFIXED); |
1447 | #if LCD_DEPTH > 1 | 1444 | #if LCD_DEPTH > 1 |