Hello, Here comes another small fix for the cirrus code. This makes win95 (swedish version) behave correctly. I am not sure if the patch breaks something else though.
Have a look at the attached pictures, compare the funny looking striped background behind the text with the correct checkered background. Please apply. / magnus
<<attachment: without_patch.png>>
<<attachment: with_patch.png>>
Index: hw/cirrus_vga_rop2.h =================================================================== RCS file: /cvsroot/qemu/qemu/hw/cirrus_vga_rop2.h,v retrieving revision 1.6 diff -u -r1.6 cirrus_vga_rop2.h --- hw/cirrus_vga_rop2.h 26 Apr 2005 20:49:17 -0000 1.6 +++ hw/cirrus_vga_rop2.h 16 Jun 2005 02:02:23 -0000 @@ -61,8 +61,8 @@ 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)) {
_______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel