src/haptic/darwin/SDL_syshaptic.c
branchgsoc2008_force_feedback
changeset 2603 a84ce5ae8936
parent 2565 698c776c642f
child 2604 4eee4d565368
--- a/src/haptic/darwin/SDL_syshaptic.c	Tue Aug 05 11:41:04 2008 +0000
+++ b/src/haptic/darwin/SDL_syshaptic.c	Tue Aug 05 15:56:35 2008 +0000
@@ -571,7 +571,7 @@
    }
 }
 
-#define CONVERT(x)   (((x)*10000) / 0xFFFF )
+#define CONVERT(x)   (((x)*10000) / 0x7FFF)
 /*
  * Creates the FFEFFECT from a SDL_HapticEffect.
  */