From 2f636b458f6c5e40f8ab2615ae1e8a1cde7e86b8 Mon Sep 17 00:00:00 2001 From: bellard Date: Sat, 2 Jul 2005 20:12:37 +0000 Subject: Cirrus fix (Magnus Damm) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1488 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/cirrus_vga_rop2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw') diff --git a/hw/cirrus_vga_rop2.h b/hw/cirrus_vga_rop2.h index 2f61740e5c..da11d0f5e5 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)) { -- cgit v1.2.3