From a113617c026d00770c0a01b292386bd1857f5a6a Mon Sep 17 00:00:00 2001 From: Steven Fuller Date: Wed, 8 Aug 2001 15:49:59 +0000 Subject: Fixed major bug in TranslatePoint (was accidently loading a value to edx instead of edi). Failed to get anything comprehendible on screen. --- src/math.asm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/math.asm') 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 -- cgit v1.3