forked from len0rd/rockbox
Fix maze and rocklife on greyscale targets which were broken by r17382. Maybe the colours or the code can be improved a bit, just get it working again for now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17390 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0f1a0405e0
commit
8d8576a54f
2 changed files with 7 additions and 2 deletions
|
@ -484,11 +484,12 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
|||
|
||||
#if LCD_DEPTH > 1
|
||||
rb->lcd_set_backdrop(NULL);
|
||||
rb->lcd_set_background(LCD_RGBPACK(182, 198, 229)); /* rockbox blue */
|
||||
#if LCD_DEPTH >= 16
|
||||
rb->lcd_set_foreground( LCD_RGBPACK( 0, 0, 0));
|
||||
rb->lcd_set_background(LCD_RGBPACK(182, 198, 229)); /* rockbox blue */
|
||||
#elif LCD_DEPTH == 2
|
||||
rb->lcd_set_foreground(0);
|
||||
rb->lcd_set_background(LCD_DEFAULT_BG);
|
||||
#endif
|
||||
#endif
|
||||
maze_init(&maze);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue