Commit 399a4e2106e9800ba1b7de7d96f3370f6d862f7c

Authored by Paul Brook
1 parent 72af9170

Fix PL110 framebuffer byteswapping in 32bpp mode.

Signed-off-by: Paul Brook <paul@codesourcery.com>
Showing 1 changed file with 1 additions and 1 deletions
hw/pl110_template.h
... ... @@ -282,7 +282,7 @@ static void glue(pl110_draw_line32_,NAME)(void *opaque, uint8_t *d, const uint8_
282 282 #define LSB b
283 283 #define MSB r
284 284 #endif
285   -#ifdef SWAP_WORDS
  285 +#ifndef SWAP_WORDS
286 286 LSB = data & 0xff;
287 287 g = (data >> 8) & 0xff;
288 288 MSB = (data >> 16) & 0xff;
... ...