Browse Source

* fixed GetPixel320

git-svn-id: trunk@15870 -
nickysn 15 years ago
parent
commit
a386a642cc
1 changed files with 1 additions and 3 deletions
  1. 1 3
      packages/graph/src/go32v2/graph.pp

+ 1 - 3
packages/graph/src/go32v2/graph.pp

@@ -1213,7 +1213,6 @@ End;
   {$else fpc}
   {$else fpc}
   assembler;
   assembler;
   asm
   asm
-    push eax
     push ebx
     push ebx
     push ecx
     push ecx
     push edx
     push edx
@@ -1232,12 +1231,11 @@ End;
  {   add    edi, [VideoOfs]       no multiple pages in 320*200*256 }
  {   add    edi, [VideoOfs]       no multiple pages in 320*200*256 }
     shl    ebx, 6
     shl    ebx, 6
     add    edi, ebx
     add    edi, ebx
-    movzx  ax, byte ptr fs:[edi+ebx*4+$a0000]
+    movzx  eax, byte ptr fs:[edi+ebx*4+$a0000]
     pop edi
     pop edi
     pop edx
     pop edx
     pop ecx
     pop ecx
     pop ebx
     pop ebx
-    pop eax
  {$endif fpc}
  {$endif fpc}
   end;
   end;