diff options
| author | Marianne Arnold <pixelma@rockbox.org> | 2009-02-09 23:21:35 +0000 |
|---|---|---|
| committer | Marianne Arnold <pixelma@rockbox.org> | 2009-02-09 23:21:35 +0000 |
| commit | a12c2d59ade3f8d4c1edb56ad4812836766df95b (patch) | |
| tree | 48c7b605181bee9b50fe375fd9147e7229c7bde9 /apps/plugins | |
| parent | dca7d391f1f57085207def0321b89b18e6307c1b (diff) | |
| download | rockbox-a12c2d59ade3f8d4c1edb56ad4812836766df95b.zip rockbox-a12c2d59ade3f8d4c1edb56ad4812836766df95b.tar.gz rockbox-a12c2d59ade3f8d4c1edb56ad4812836766df95b.tar.bz2 rockbox-a12c2d59ade3f8d4c1edb56ad4812836766df95b.tar.xz | |
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
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/xobox.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/xobox.c b/apps/plugins/xobox.c index 2c25eba..22286b0 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]; |