aboutsummaryrefslogtreecommitdiff
path: root/hw/cirrus_vga_rop2.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-07-02 20:12:37 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-07-02 20:12:37 +0000
commit2f636b458f6c5e40f8ab2615ae1e8a1cde7e86b8 (patch)
treee688c4095bd6a194026270482540615a22da58c6 /hw/cirrus_vga_rop2.h
parent3de388f676e936097f99fb58e8a58c5461eb696e (diff)
downloadqemu-2f636b458f6c5e40f8ab2615ae1e8a1cde7e86b8.zip
qemu-2f636b458f6c5e40f8ab2615ae1e8a1cde7e86b8.tar.gz
qemu-2f636b458f6c5e40f8ab2615ae1e8a1cde7e86b8.tar.bz2
Cirrus fix (Magnus Damm)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1488 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/cirrus_vga_rop2.h')
-rw-r--r--hw/cirrus_vga_rop2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/cirrus_vga_rop2.h b/hw/cirrus_vga_rop2.h
index 2f61740..da11d0f 100644
--- a/hw/cirrus_vga_rop2.h
+++ b/hw/cirrus_vga_rop2.h
@@ -61,8 +61,8 @@ glue(glue(glue(cirrus_patternfill_, ROP_NAME), _),DEPTH)
pattern_pitch = 32;
#endif
pattern_y = s->cirrus_blt_srcaddr & 7;
- pattern_x = skipleft;
for(y = 0; y < bltheight; y++) {
+ pattern_x = skipleft;
d = dst + skipleft;
src1 = src + pattern_y * pattern_pitch;
for (x = skipleft; x < bltwidth; x += (DEPTH / 8)) {