summaryrefslogtreecommitdiff
path: root/emulators/gcube/files/cpu.c-patch
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/gcube/files/cpu.c-patch')
-rw-r--r--emulators/gcube/files/cpu.c-patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/gcube/files/cpu.c-patch b/emulators/gcube/files/cpu.c-patch
new file mode 100644
index 000000000000..066cb5442fab
--- /dev/null
+++ b/emulators/gcube/files/cpu.c-patch
@@ -0,0 +1,11 @@
+--- cpu.c.orig Fri Jun 17 02:20:13 2005
++++ cpu.c Fri Jun 17 02:20:30 2005
+@@ -45,7 +45,7 @@
+ int RESERVE = 0;
+ __u32 RESERVE_ADDR = 0;
+
+-double (*fp_round[]) (double) = { round, trunc, ceil, floor };
++double (*fp_round[]) (double) = { rint, rint, ceil, floor };
+ #define FP_ROUND(D) (fp_round[FPSCR_RN] (D))
+
+ #if 0