freebsd-ports/emulators/gcube/files/cpu.c-patch
Michael Johnson fc6a4eb756 Add gcube 0.4, gamecube emulator.
PR:		ports/82349
Submitted by:	Travis Poppe <tlp@liquidx.org>
2005-06-17 06:24:32 +00:00

11 lines
320 B
Text

--- 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