mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-03 14:34:32 +00:00
Add NO_SQRTF_INTRINSIC for z_rumble.c and audio/general.c (#2067)
This commit is contained in:
parent
98ba7ad2ab
commit
c38adc1036
2 changed files with 11 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue