All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] cirrus_vga.c and win95, another one
@ 2005-06-16  3:54 Magnus Damm
  0 siblings, 0 replies; only message in thread
From: Magnus Damm @ 2005-06-16  3:54 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 334 bytes --]

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 #2: without_patch.png --]
[-- Type: image/png, Size: 7701 bytes --]

[-- Attachment #3: with_patch.png --]
[-- Type: image/png, Size: 7385 bytes --]

[-- Attachment #4: qemu-cvs_20050616-cirrus_win95.patch --]
[-- Type: text/x-patch, Size: 643 bytes --]

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)) {

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-06-16  3:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-16  3:54 [Qemu-devel] [PATCH] cirrus_vga.c and win95, another one Magnus Damm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.