aboutsummaryrefslogtreecommitdiff
path: root/hw/blizzard_template.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-02-05 12:59:04 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2013-04-08 18:13:13 +0200
commitfc97bb5ba3e7239c0b6d24095df6784868dfebbf (patch)
tree6367fc217473184292a7eeee38c1b8e6a0db1573 /hw/blizzard_template.h
parent34b8f63ea1aa0941f11c6c032f8e1716269a0449 (diff)
hw: move display devices to hw/display/, configure via default-configs/
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/blizzard_template.h')
-rw-r--r--hw/blizzard_template.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/blizzard_template.h b/hw/blizzard_template.h
index 42f4e90b04..a8a8899478 100644
--- a/hw/blizzard_template.h
+++ b/hw/blizzard_template.h
@@ -55,7 +55,7 @@ static void glue(blizzard_draw_line16_, DEPTH)(PIXEL_TYPE *dest,
unsigned int r, g, b;
const uint16_t *end = (const void *) src + width;
while (src < end) {
- data = lduw_raw(src ++);
+ data = *src ++;
b = (data & 0x1f) << 3;
data >>= 5;
g = (data & 0x3f) << 2;