[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [4230] Fix update region size in EPSON blizzard.
From: |
Andrzej Zaborowski |
Subject: |
[Qemu-devel] [4230] Fix update region size in EPSON blizzard. |
Date: |
Tue, 22 Apr 2008 02:52:39 +0000 |
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;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [4230] Fix update region size in EPSON blizzard.,
Andrzej Zaborowski <=