diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-19 19:38:45 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-24 21:20:13 +0000 |
commit | 0c4f89370d05056faa789aa9cabcccc4e509fb9f (patch) | |
tree | 6ddf7fff0a47564db41d39927ea1acbdb03e74ee /apps/plugins/cube.c | |
parent | 092c340a2062fa98b7387fc5fd63578ddae7d0b6 (diff) | |
download | rockbox-0c4f89370d05056faa789aa9cabcccc4e509fb9f.tar.gz rockbox-0c4f89370d05056faa789aa9cabcccc4e509fb9f.zip |
[2/4] get rid of HAVE_LCD_CHARCELLS
HAVE_LCD_BITMAP is now redundant.
lcd_bitmap is always-on in features.txt so manual and lang strings
don't have to change
Change-Id: I08eeb20de48099ffc2dc23782711af368c2ec794
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); |