mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
Fix bugs in lcd drivers after b37e6bc
Change-Id: I9dc262b8453abab62e792beebe4f96415e58b380
This commit is contained in:
parent
e958aeeb76
commit
fbb8c31e63
3 changed files with 3 additions and 3 deletions
|
|
@ -211,7 +211,7 @@ void lcd_update_rect(int sx, int sy, int width, int height)
|
|||
fb_data c;
|
||||
unsigned long color;
|
||||
|
||||
c = FBADDR(x,y);
|
||||
c = *FBADDR(x,y);
|
||||
color =
|
||||
((c & 0x1f) << 1) | ((c & 0x7e0) << 1) | ((c & 0xf800) <<
|
||||
2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue