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:
parent
9e5b7f430d
commit
a113617c02
6 changed files with 62 additions and 128 deletions
|
@ -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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue