milkymist-vgafb: swap pixel data in source buffer
commit2f453564274cde7efba77246726f3d0c51566ec0
authorMichael Walle <michael@walle.cc>
Mon, 16 Sep 2013 17:32:54 +0000 (16 19:32 +0200)
committerMichael Walle <michael@walle.cc>
Tue, 4 Feb 2014 18:34:30 +0000 (4 19:34 +0100)
tree3d9794aa34df80dc2dde7b1660ca60adbaa69a9e
parent02d3bf7fe755e490b3641148eaef02475c58bdee
milkymist-vgafb: swap pixel data in source buffer

In commit fc97bb5ba3e7239c0b6d24095df6784868dfebbf the lduw_raw() call was
eliminated. But we are reading from the target buffer a 16-bit value, which
is in big-endian format. Therefore, use lduw_be_p() to read the value.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael Walle <michael@walle.cc>
hw/display/milkymist-vgafb_template.h