forked from len0rd/rockbox
Fix inversevid mono drawing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12022 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9980b4ed6c
commit
0fedaa205c
1 changed files with 2 additions and 2 deletions
|
@ -355,8 +355,8 @@ void lcd_mono_bitmap_part(const unsigned char *src, int src_x, int src_y,
|
|||
if (data & 0x01)
|
||||
*dst_col = fg_pattern;
|
||||
break;
|
||||
case DRMODE_INVERSEVID:
|
||||
if(!(data & 0x01))
|
||||
case (DRMODE_SOLID|DRMODE_INVERSEVID):
|
||||
if(data & 0x01)
|
||||
*dst_col = has_backdrop ? *backdrop_col : bg_pattern;
|
||||
else
|
||||
*dst_col = fg_pattern;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue