summaryrefslogtreecommitdiff
path: root/libs/JSystem/JStudio/functionvalue.cpp
diff options
context:
space:
mode:
authorPheenoh <pheenoh@gmail.com>2021-02-20 10:25:31 -0500
committerPheenoh <pheenoh@gmail.com>2021-02-20 10:25:31 -0500
commitd102f73e7a1bb18745cdedc034baee3c88aeb065 (patch)
tree8ec4492439f311ab670ed99e5cc5d40118522237 /libs/JSystem/JStudio/functionvalue.cpp
parentb0499177ef7e08594fbac1665d1ac6f8dc9d0d47 (diff)
parent5c83d2532c610dc9eb5fb4f36c250174c79964e4 (diff)
Merge branch 'master' of https://github.com/zeldaret/tp
Diffstat (limited to 'libs/JSystem/JStudio/functionvalue.cpp')
-rw-r--r--libs/JSystem/JStudio/functionvalue.cpp3
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;