1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-04 15:04:31 +00:00

Add NO_SQRTF_INTRINSIC for z_rumble.c and audio/general.c (#2067)

This commit is contained in:
cadmic 2024-08-23 00:11:41 -07:00 committed by GitHub
parent 98ba7ad2ab
commit c38adc1036
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 1 deletions

View file

@ -42,7 +42,9 @@ f32 fabsf(f32 f);
#endif
f32 sqrtf(f32 f);
#ifdef __sgi
// IDO has a sqrtf intrinsic, but in N64 versions it's not used for some files.
// For these files we define NO_SQRTF_INTRINSIC to use the sqrtf function instead.
#if defined(__sgi) && !defined(NO_SQRTF_INTRINSIC)
#pragma intrinsic(sqrtf)
#endif