Commit abbaab5c6d243378b0161b72fb7d2e5853c3ea40

Authored by balrog
1 parent 1bcee014

Fix RGBT 5:5:5 drawing on pxa2xx lcd (Lars Munch)

This patch fixes the misinterpretaion of the transparency bit for
RGBT 5:5:5 mode on pxa2xx LCDC.

Signed-off-by: Lars Munch <lars@segv.dk>


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5605 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 0 deletions
hw/pxa2xx_template.h
... ... @@ -156,6 +156,7 @@ static void glue(pxa2xx_draw_line16t_, BITS)(uint32_t *palette,
156 156 g = (data & 0x1f) << 3;
157 157 data >>= 5;
158 158 r = (data & 0x1f) << 3;
  159 + data >>= 5;
159 160 if (data & 1)
160 161 SKIP_PIXEL(dest);
161 162 else
... ...