* [Qemu-devel] [4230] Fix update region size in EPSON blizzard.
@ 2008-04-22 2:52 Andrzej Zaborowski
0 siblings, 0 replies; only message in thread
From: Andrzej Zaborowski @ 2008-04-22 2:52 UTC (permalink / raw)
To: qemu-devel
Revision: 4230
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4230
Author: balrog
Date: 2008-04-22 02:52:38 +0000 (Tue, 22 Apr 2008)
Log Message:
-----------
Fix update region size in EPSON blizzard.
Modified Paths:
--------------
trunk/hw/blizzard_template.h
Modified: trunk/hw/blizzard_template.h
===================================================================
--- trunk/hw/blizzard_template.h 2008-04-21 16:55:57 UTC (rev 4229)
+++ trunk/hw/blizzard_template.h 2008-04-22 02:52:38 UTC (rev 4230)
@@ -51,11 +51,11 @@
const uint16_t *src, unsigned int width)
{
#if !defined(SWAP_WORDS) && DEPTH == 16
- memcpy(dest, src, width << 1);
+ memcpy(dest, src, width);
#else
uint16_t data;
unsigned int r, g, b;
- const uint16_t *end = (void *) src + width;
+ const uint16_t *end = (const void *) src + width;
while (src < end) {
data = lduw_raw(src ++);
b = (data & 0x1f) << 3;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-04-22 2:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-22 2:52 [Qemu-devel] [4230] Fix update region size in EPSON blizzard Andrzej Zaborowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).