diff options
Diffstat (limited to 'hw/pxa2xx_template.h')
-rw-r--r-- | hw/pxa2xx_template.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/pxa2xx_template.h b/hw/pxa2xx_template.h index ad3799df2c..903df7b389 100644 --- a/hw/pxa2xx_template.h +++ b/hw/pxa2xx_template.h @@ -156,6 +156,7 @@ static void glue(pxa2xx_draw_line16t_, BITS)(uint32_t *palette, g = (data & 0x1f) << 3; data >>= 5; r = (data & 0x1f) << 3; + data >>= 5; if (data & 1) SKIP_PIXEL(dest); else |