1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-08 10:13:28 +08:00

Revert "Remove depricated register declaration"

This reverts commit 29f7793b4f4f910b570e0ccb92ca0c854b2e00a7.
This commit is contained in:
Michael Flaherty 2018-07-19 19:07:55 -07:00
parent 29f7793b4f
commit 9877126203

View File

@ -329,7 +329,7 @@ void inline SinCos( float radians, float *sine, float *cosine )
fstp DWORD PTR [eax]
}
#elif defined( GNUC )
double __cosr, __sinr;
register double __cosr, __sinr;
__asm __volatile__ ("fsincos" : "=t" (__cosr), "=u" (__sinr) : "0" (radians));
*sine = __sinr;