From a12c2d59ade3f8d4c1edb56ad4812836766df95b Mon Sep 17 00:00:00 2001 From: Marianne Arnold Date: Mon, 9 Feb 2009 23:21:35 +0000 Subject: [PATCH] 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 --- apps/plugins/xobox.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/plugins/xobox.c b/apps/plugins/xobox.c index 2c25eba724..22286b0d72 100644 --- a/apps/plugins/xobox.c +++ b/apps/plugins/xobox.c @@ -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];