commit | 399a4e2106e9800ba1b7de7d96f3370f6d862f7c | [log] [tgz] |
---|---|---|
author | Paul Brook <paul@codesourcery.com> | Wed May 06 16:18:34 2009 +0100 |
committer | Paul Brook <paul@codesourcery.com> | Wed May 06 16:18:34 2009 +0100 |
tree | d86e8603b75a6986a33361b8f30b8169f4b720df | |
parent | 72af9170882c435d19705f774f62828467d63e87 [diff] [blame] |
Fix PL110 framebuffer byteswapping in 32bpp mode. Signed-off-by: Paul Brook <paul@codesourcery.com>
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 @@ #define LSB b #define MSB r #endif -#ifdef SWAP_WORDS +#ifndef SWAP_WORDS LSB = data & 0xff; g = (data >> 8) & 0xff; MSB = (data >> 16) & 0xff;