Fixed major bug in TranslatePoint (was accidently loading a value to edx

instead of edi).

Failed to get anything comprehendible on screen.
This commit is contained in:
Steven Fuller 2001-08-08 15:49:59 +00:00 committed by Patryk Obara
parent 9e5b7f430d
commit a113617c02
6 changed files with 62 additions and 128 deletions

View file

@ -4,7 +4,7 @@ SECTION .text
GLOBAL TranslatePoint_Asm
; float *source, float *dest, float *matrix
; "S" (source), "b" (dest), "d" (matrix)
; "S" (source), "b" (dest), "D" (matrix)
TranslatePoint_Asm:
fld dword [esi]
fmul dword [edi]
@ -49,4 +49,3 @@ TranslatePoint_Asm:
fstp dword [ebx+8]
ret