mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-05 17:13:36 +08:00
Revert "Remove depricated register declaration"
This reverts commit 9c719aebd3b467eb2928686ec39d976a99d22639.
This commit is contained in:
parent
9c719aebd3
commit
19c8684425
@ -329,7 +329,7 @@ void inline SinCos( float radians, float *sine, float *cosine )
|
|||||||
fstp DWORD PTR [eax]
|
fstp DWORD PTR [eax]
|
||||||
}
|
}
|
||||||
#elif defined( GNUC )
|
#elif defined( GNUC )
|
||||||
double __cosr, __sinr;
|
register double __cosr, __sinr;
|
||||||
__asm __volatile__ ("fsincos" : "=t" (__cosr), "=u" (__sinr) : "0" (radians));
|
__asm __volatile__ ("fsincos" : "=t" (__cosr), "=u" (__sinr) : "0" (radians));
|
||||||
|
|
||||||
*sine = __sinr;
|
*sine = __sinr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user