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

@ -4508,7 +4508,7 @@ static void TranslatePoint(float *source, float *dest, float *matrix)
/* Moved to a separate file because I can't figure out the damn syntax! */
__asm__("call TranslatePoint_Asm \n\t"
:
: "S" (source), "b" (dest), "d" (matrix)
: "S" (source), "b" (dest), "D" (matrix)
);
}