diff options
Diffstat (limited to 'apps/plugins/jewels.c')
-rw-r--r-- | apps/plugins/jewels.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/plugins/jewels.c b/apps/plugins/jewels.c index 645135a918..7b45e554e2 100644 --- a/apps/plugins/jewels.c +++ b/apps/plugins/jewels.c | |||
@@ -359,9 +359,6 @@ struct jewels_menu { | |||
359 | {"Exit Jewels", MRES_EXIT}}} | 359 | {"Exit Jewels", MRES_EXIT}}} |
360 | }; | 360 | }; |
361 | 361 | ||
362 | /* global rockbox api */ | ||
363 | static const struct plugin_api* rb; | ||
364 | |||
365 | /* external bitmaps */ | 362 | /* external bitmaps */ |
366 | extern const fb_data jewels[]; | 363 | extern const fb_data jewels[]; |
367 | 364 | ||
@@ -1767,7 +1764,7 @@ static int jewels_main(struct game_context* bj) { | |||
1767 | continue; | 1764 | continue; |
1768 | 1765 | ||
1769 | case MRES_PLAYBACK: | 1766 | case MRES_PLAYBACK: |
1770 | playback_control(rb, NULL); | 1767 | playback_control(NULL); |
1771 | rb->lcd_setfont(FONT_SYSFIXED); | 1768 | rb->lcd_setfont(FONT_SYSFIXED); |
1772 | inmenu = false; | 1769 | inmenu = false; |
1773 | selected = false; | 1770 | selected = false; |
@@ -1940,7 +1937,7 @@ static int jewels_main(struct game_context* bj) { | |||
1940 | /***************************************************************************** | 1937 | /***************************************************************************** |
1941 | * plugin entry point. | 1938 | * plugin entry point. |
1942 | ******************************************************************************/ | 1939 | ******************************************************************************/ |
1943 | enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter) { | 1940 | enum plugin_status plugin_start(const void* parameter) { |
1944 | struct game_context bj; | 1941 | struct game_context bj; |
1945 | bool exit = false; | 1942 | bool exit = false; |
1946 | int position; | 1943 | int position; |
@@ -1948,7 +1945,6 @@ enum plugin_status plugin_start(const struct plugin_api* api, const void* parame | |||
1948 | 1945 | ||
1949 | /* plugin init */ | 1946 | /* plugin init */ |
1950 | (void)parameter; | 1947 | (void)parameter; |
1951 | rb = api; | ||
1952 | /* end of plugin init */ | 1948 | /* end of plugin init */ |
1953 | 1949 | ||
1954 | /* load high scores */ | 1950 | /* load high scores */ |