diff options
| author | lepelog <lepelog@users.noreply.github.com> | 2021-02-19 16:51:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-19 10:51:02 -0500 |
| commit | 5c83d2532c610dc9eb5fb4f36c250174c79964e4 (patch) | |
| tree | 6ce0030966f7095704ec09f70f96855444e711d5 /libs/JSystem/JStudio/functionvalue.cpp | |
| parent | bbf1d1c34c015fe92d326fbab6f241b1f6c7fb4f (diff) | |
Decompile some SComponent data and some MSL_C.PPCEABI.bare.H headers (#115)
* data for c_angle
* data c_sxyz
* partially migrated c_xyz data
* c_xyz data
* c_xyz data decomp
* c_math data
* c_math data
* c_lib data, some cleanup
* rename some unnamed functions and create header for them
* header for string functions
* format and fix fabsf
* cleanup
* remove more unneded function prototypes
* move fpclassify to math.h
Diffstat (limited to 'libs/JSystem/JStudio/functionvalue.cpp')
| -rw-r--r-- | libs/JSystem/JStudio/functionvalue.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/JSystem/JStudio/functionvalue.cpp b/libs/JSystem/JStudio/functionvalue.cpp index fa6f125e5e..10a34331b7 100644 --- a/libs/JSystem/JStudio/functionvalue.cpp +++ b/libs/JSystem/JStudio/functionvalue.cpp @@ -1,4 +1,5 @@ #include "JSystem/JStudio/functionvalue.h" +#include "msl_c/math.h" extern "C" { void __cvt_fp2unsigned(void); @@ -535,7 +536,7 @@ f64 extrapolateParameter_raw(f64 a1, f64 a2) { } f64 extrapolateParameter_repeat(f64 a1, f64 a2) { - f64 t = func_8036C760(a1, a2); + f64 t = fmod(a1, a2); if (t < lbl_80455400) t += a2; |
