diff options
| author | Steven Fuller <relnev@icculus.org> | 2001-08-08 15:49:59 +0000 |
|---|---|---|
| committer | Patryk Obara <dreamer.tan@gmail.com> | 2019-08-20 02:22:36 +0200 |
| commit | a113617c026d00770c0a01b292386bd1857f5a6a (patch) | |
| tree | f0a689c37369f985171fabd9b9444d74a50c49df /src/math.asm | |
| parent | 9e5b7f430d3c5f30042c1fa380ed6b4be13c884d (diff) | |
Fixed major bug in TranslatePoint (was accidently loading a value to edx
instead of edi).
Failed to get anything comprehendible on screen.
Diffstat (limited to 'src/math.asm')
| -rw-r--r-- | src/math.asm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/math.asm b/src/math.asm index 555b289..4ac6913 100644 --- a/src/math.asm +++ b/src/math.asm @@ -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 -
\ No newline at end of file |
