dib16_hline revert GvG change until some rewrite the asm code to handler the 4 align right. for now it does the test 0x01,%%edi is wrong it must be test 0x03,%%edi for not break cmd in 16bpp and other apps Modified: trunk/reactos/subsys/win32k/dib/dib16bpp.c _____
Modified: trunk/reactos/subsys/win32k/dib/dib16bpp.c --- trunk/reactos/subsys/win32k/dib/dib16bpp.c 2005-06-09 19:04:32 UTC (rev 15848) +++ trunk/reactos/subsys/win32k/dib/dib16bpp.c 2005-06-09 20:18:32 UTC (rev 15849) @@ -53,7 +53,7 @@
" shl $16, %%eax\n" " andl $0xffff, %0\n" /* If the pixel value is "abcd", put "abcdabcd" in %eax */ " or %0, %%eax\n" -" test $0x03, %%edi\n" /* Align to fullword boundary */ +" test $0x01, %%edi\n" /* Align to fullword boundary */ " jz .L1\n" " stosw\n" " dec %1\n"