From 5c83d2532c610dc9eb5fb4f36c250174c79964e4 Mon Sep 17 00:00:00 2001 From: lepelog Date: Fri, 19 Feb 2021 16:51:02 +0100 Subject: 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 --- libs/JSystem/JStudio/functionvalue.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libs/JSystem/JStudio/functionvalue.cpp') 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; -- cgit v1.2.3