diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2014-05-27 17:09:49 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2014-05-27 17:09:49 +0100 |
commit | fc37b7a0b0cebe4118d172c4fceb0acc2fa25b4a (patch) | |
tree | e48d3ee6d6cdf8014656d35bf27f22d241483207 /target-arm/translate.h | |
parent | 9ef137cad67bdfdf6adf80c91eea26209f4115ab (diff) | |
download | qemu-fc37b7a0b0cebe4118d172c4fceb0acc2fa25b4a.zip qemu-fc37b7a0b0cebe4118d172c4fceb0acc2fa25b4a.tar.gz qemu-fc37b7a0b0cebe4118d172c4fceb0acc2fa25b4a.tar.bz2 |
hw/display/pxa2xx_lcd: Fix 16bpp+alpha and 18bpp+alpha palette formats
The pxa2xx palette entry "16bpp plus transparency" format is
xxxxxxxTRRRRR000GGGGGG00BBBBB000, and "18bpp plus transparency" is
xxxxxxxTRRRRRR00GGGGGG00BBBBBB00.
Correct errors in the code for reading these and converting
them to the internal format. In particular, the buggy code
was attempting to mask out bit 24 of a uint16_t, which
Coverity spotted as an error.
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1400233901-31785-1-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'target-arm/translate.h')
0 files changed, 0 insertions, 0 deletions