diff options
author | Marcin Bukat <marcin.bukat@gmail.com> | 2018-04-10 14:13:35 +0200 |
---|---|---|
committer | Marcin Bukat <marcin.bukat@gmail.com> | 2018-06-12 10:31:15 +0200 |
commit | 1af78b99d90629cfc90805b18270afaa486ddb50 (patch) | |
tree | 66501f75a2965a02cda453176ecf14157da6662c /apps/plugins | |
parent | fbaa97496f9717d7cf45456c47ce3e271da29e28 (diff) | |
download | rockbox-1af78b99d90629cfc90805b18270afaa486ddb50.tar.gz rockbox-1af78b99d90629cfc90805b18270afaa486ddb50.zip |
Agptek Rocker: fix rockboy pallete
Contributed by Aapo Tahkola.
Change-Id: Ibee14d4f307b2198c5c47f9593734bd5d31d379b
Diffstat (limited to 'apps/plugins')
-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) */ |