mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
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 svn path=/trunk/; revision=15849
This commit is contained in:
parent
bb18fc25e9
commit
5ecd1f57d9
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ DIB_16BPP_HLine(SURFOBJ *SurfObj, LONG x1, LONG x2, LONG y, ULONG c)
|
|||
" 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"
|
||||
|
|
Loading…
Reference in a new issue