[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT d86e860] Fix PL110 framebuffer byteswapping in 32
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT d86e860] Fix PL110 framebuffer byteswapping in 32bpp mode. |
Date: |
Wed, 06 May 2009 15:19:58 -0000 |
From: Paul Brook <address@hidden>
Signed-off-by: Paul Brook <address@hidden>
diff --git a/hw/pl110_template.h b/hw/pl110_template.h
index 5b5f475..d7ff8bc 100644
--- a/hw/pl110_template.h
+++ b/hw/pl110_template.h
@@ -282,7 +282,7 @@ static void glue(pl110_draw_line32_,NAME)(void *opaque,
uint8_t *d, const uint8_
#define LSB b
#define MSB r
#endif
-#ifdef SWAP_WORDS
+#ifndef SWAP_WORDS
LSB = data & 0xff;
g = (data >> 8) & 0xff;
MSB = (data >> 16) & 0xff;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT d86e860] Fix PL110 framebuffer byteswapping in 32bpp mode.,
Anthony Liguori <=