diff options
Diffstat (limited to 'apps/plugins/rockboy/sys_rockbox.c')
-rw-r--r-- | apps/plugins/rockboy/sys_rockbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/rockboy/sys_rockbox.c b/apps/plugins/rockboy/sys_rockbox.c index 31bab1c478..3a1f3c6760 100644 --- a/apps/plugins/rockboy/sys_rockbox.c +++ b/apps/plugins/rockboy/sys_rockbox.c | |||
@@ -261,7 +261,7 @@ void vid_init(void) | |||
261 | fb.enabled=1; | 261 | fb.enabled=1; |
262 | 262 | ||
263 | #if defined(HAVE_LCD_COLOR) | 263 | #if defined(HAVE_LCD_COLOR) |
264 | #if LCD_DEPTH == 24 | 264 | #if LCD_DEPTH >= 24 |
265 | fb.cc[0].r = 0; /* 8-8 (wasted bits on red) */ | 265 | fb.cc[0].r = 0; /* 8-8 (wasted bits on red) */ |
266 | fb.cc[0].l = 16; /* this is the offset to the R bits (24-8) */ | 266 | fb.cc[0].l = 16; /* this is the offset to the R bits (24-8) */ |
267 | fb.cc[1].r = 0; /* 8-6 (wasted bits on green) */ | 267 | fb.cc[1].r = 0; /* 8-6 (wasted bits on green) */ |