forked from len0rd/rockbox
Ooops, don't apply correction when it shouldn't be applied.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10418 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8fd68a2979
commit
344849cc22
1 changed files with 1 additions and 1 deletions
|
@ -429,7 +429,7 @@ int gray_init(struct plugin_api* newrb, unsigned char *gbuf, long gbuf_size,
|
|||
{
|
||||
for (i = 0; i < 256; i++)
|
||||
{
|
||||
data = MULU16(depth, lcdlinear[i]) + 127;
|
||||
data = MULU16(depth, i) + 127;
|
||||
_gray_info.idxtable[i] = (data + (data >> 8)) >> 8;
|
||||
/* approx. data / 255 */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue