Xobox - clear display for all. Fixes problem on colour screens with one or both dimensions not being a multiple of 8 (e.g. the Nano's screen height) where parts of the statusbar or background image stayed on screen.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19958 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Marianne Arnold 2009-02-09 23:21:35 +00:00
parent dca7d391f1
commit a12c2d59ad

View File

@ -506,9 +506,8 @@ static void refresh_board (void)
#if LCD_DEPTH>=2
rb->lcd_set_background (LCD_BLACK);
#else
rb->lcd_clear_display ();
#endif
rb->lcd_clear_display ();
for (j = 0; j < BOARD_H; j++)
{
unsigned last_color = board[j][0];