diff options
Diffstat (limited to 'apps/plugins/cube.c')
-rw-r--r-- | apps/plugins/cube.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/apps/plugins/cube.c b/apps/plugins/cube.c index 4cd314a035..29d2ba2fc1 100644 --- a/apps/plugins/cube.c +++ b/apps/plugins/cube.c | |||
@@ -22,7 +22,6 @@ | |||
22 | ***************************************************************************/ | 22 | ***************************************************************************/ |
23 | #include "plugin.h" | 23 | #include "plugin.h" |
24 | #include "fixedpoint.h" | 24 | #include "fixedpoint.h" |
25 | #include "lib/playergfx.h" | ||
26 | #include "lib/pluginlib_exit.h" | 25 | #include "lib/pluginlib_exit.h" |
27 | #if LCD_DEPTH > 1 | 26 | #if LCD_DEPTH > 1 |
28 | #include "lib/mylcd.h" /* MYLCD_CFG_RB_XLCD or MYLCD_CFG_PGFX */ | 27 | #include "lib/mylcd.h" /* MYLCD_CFG_RB_XLCD or MYLCD_CFG_PGFX */ |
@@ -746,8 +745,6 @@ static void cleanup(void) | |||
746 | { | 745 | { |
747 | #ifdef USEGSLIB | 746 | #ifdef USEGSLIB |
748 | grey_release(); | 747 | grey_release(); |
749 | #elif defined HAVE_LCD_CHARCELLS | ||
750 | pgfx_release(); | ||
751 | #endif | 748 | #endif |
752 | } | 749 | } |
753 | 750 | ||
@@ -797,13 +794,6 @@ enum plugin_status plugin_start(const void* parameter) | |||
797 | grey_setfont(FONT_SYSFIXED); | 794 | grey_setfont(FONT_SYSFIXED); |
798 | #endif | 795 | #endif |
799 | rb->lcd_setfont(FONT_SYSFIXED); | 796 | rb->lcd_setfont(FONT_SYSFIXED); |
800 | #else /* LCD_CHARCELLS */ | ||
801 | if (!pgfx_init(4, 2)) | ||
802 | { | ||
803 | rb->splash(HZ*2, "Old LCD :("); | ||
804 | return PLUGIN_OK; | ||
805 | } | ||
806 | pgfx_display(0, 0); | ||
807 | #endif | 797 | #endif |
808 | 798 | ||
809 | atexit(cleanup); | 799 | atexit(cleanup); |